TerminalText

roguelikestarterkit.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

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

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 withColors(newForeground: RGBA, newBackground: RGBA): TerminalText
def withDropShadow(newColor: RGBA): TerminalText
def withDropShadow(newColor: RGB): TerminalText
def withForeground(newForeground: RGB, newBackground: 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