TerminalText

io.indigoengine.roguelike.starterkit.terminal.TerminalText
See theTerminalText companion object
final case class TerminalText(tileMap: AssetName, foreground: RGBA, background: RGBA, shadow: RGBA, mask: RGBA, shaderId: Option[ShaderId]) extends Material

Attributes

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

Members list

Value members

Concrete methods

def toShaderData: ShaderData
def withBackground(newColor: RGBA): TerminalText
def withBackground(newColor: RGB): TerminalText
def withDropShadow(newColor: RGBA): TerminalText
def withDropShadow(newColor: RGB): TerminalText
def withForeground(newColor: RGBA): TerminalText
def withForeground(newColor: RGB): TerminalText
def withMask(newColor: RGBA): TerminalText
def withMask(newColor: RGB): TerminalText
def withShaderId(newShaderId: ShaderId): TerminalText

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product