roguelikestarterkit.terminal

Members list

Type members

Classlikes

final case class MapTile(char: Tile, foreground: RGBA, background: RGBA)

Represents the three basic properties of a tile: Character, foreground colour, and background colour.

Represents the three basic properties of a tile: Character, foreground colour, and background colour.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MapTile

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MapTile.type
final class RogueTerminalEmulator(val size: Size, _tiles: Array[Tile], _foreground: Array[RGBA], _background: Array[RGBA]) extends Terminal

RogueTerminalEmulator is like the TerminalEmulator but a little more daring and dangerous. Represents an mutable, packed populated terminal. It is more performant, relative to TerminalEmulator, but also requires more care since it's a mutable structure. There are no empty spaces in this terminal, empty tiles are filled with the Tile.Null value and RGBA.Zero colors.

RogueTerminalEmulator is like the TerminalEmulator but a little more daring and dangerous. Represents an mutable, packed populated terminal. It is more performant, relative to TerminalEmulator, but also requires more care since it's a mutable structure. There are no empty spaces in this terminal, empty tiles are filled with the Tile.Null value and RGBA.Zero colors.

Attributes

Companion
object
Supertypes
trait Terminal
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait Terminal

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Terminal

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Terminal.type
final case class TerminalClones(blanks: Batch[CloneBlank], clones: Batch[CloneTiles])

Represents the output of converting a Terminal into clones ready for rendering. You must add the clones to you scene and register the clone blanks.

Represents the output of converting a Terminal into clones ready for rendering. You must add the clones to you scene and register the clone blanks.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TerminalEmulator(size: Size, charMap: SparseGrid[MapTile]) extends Terminal

TerminalEmulator represents an immutable, sparsely populated terminal.

TerminalEmulator represents an immutable, sparsely populated terminal.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Terminal
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TerminalMaterial(tileMap: AssetName, foreground: RGBA, background: RGBA, mask: RGBA, lighting: LightingModel, shaderId: Option[ShaderId]) extends Material

TerminalMaterial is a revised and leaner version of TerminalText, aimed at use with CloneTiles. It removes the dubious drop shadow functionality, requires less shader data, and has simpler shader logic.

TerminalMaterial is a revised and leaner version of TerminalText, aimed at use with CloneTiles. It removes the dubious drop shadow functionality, requires less shader data, and has simpler shader logic.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Material
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TerminalText(tileMap: AssetName, foreground: RGBA, background: RGBA, shadow: RGBA, mask: RGBA, shaderId: Option[ShaderId]) extends Material

The original Terminal text material, designed for use with Text entities. Supports approximate drop shadows.

The original Terminal text material, designed for use with Text entities. Supports approximate drop shadows.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Material
class Object
trait Matchable
class Any
Show all
object TerminalText

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type