TerminalEmulator

io.indigoengine.roguelike.starterkit.terminal.TerminalEmulator
See theTerminalEmulator companion object
final case class TerminalEmulator(screenSize: Size, charMap: QuadTree[MapTile])

Attributes

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

Members list

Value members

Concrete methods

def delete(coords: Point): TerminalEmulator
def draw(tileSheet: AssetName, charSize: Size, default: MapTile, maxTileCount: Int): TerminalEntity
def get(coords: Point): Option[MapTile]
def inset(otherConsole: TerminalEmulator, offset: Point): TerminalEmulator
def put(coords: Point, tile: Tile, fgColor: RGBA, bgColor: RGBA): TerminalEmulator
def put(coords: Point, tile: Tile, fgColor: RGBA): TerminalEmulator
def put(coords: Point, tile: Tile): TerminalEmulator
def put(tiles: Batch[(Point, MapTile)]): TerminalEmulator
def put(tiles: (Point, MapTile)*): TerminalEmulator
def put(coords: Point, mapTile: MapTile): TerminalEmulator
def putLine(startCoords: Point, text: String, fgColor: RGBA, bgColor: RGBA): TerminalEmulator
def putLines(startCoords: Point, textLines: Batch[String], fgColor: RGBA, bgColor: RGBA): TerminalEmulator
def toBatch: Batch[MapTile]
def toCloneTiles(position: Point, charCrops: Batch[(Int, Int, Int, Int)])(makeBlank: (RGBA, RGBA) => Cloneable): TerminalClones
def toPositionedBatch: Batch[(Point, MapTile)]
def toTileBatch(default: MapTile): Batch[MapTile]
def |+|(otherConsole: TerminalEmulator): TerminalEmulator

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product