TerminalEntity

final case class TerminalEntity(tileSheet: AssetName, gridSize: Size, charSize: Size, mask: RGBA, map: Batch[MapTile], position: Point, depth: Depth, maxTileCount: Int) extends EntityNode[TerminalEntity]
Companion:
object
trait Serializable
trait Product
trait Equals
trait EntityNode[TerminalEntity]
trait RenderNode[TerminalEntity]
trait SceneNode
class Object
trait Matchable
class Any

Type members

Inherited types

type Out = T
Inherited from:
RenderNode

Value members

Concrete methods

def eventHandler: ((TerminalEntity, GlobalEvent)) => Option[GlobalEvent]
def eventHandlerEnabled: Boolean
def flip: Flip
def moveBy(pt: Point): TerminalEntity
def moveBy(x: Int, y: Int): TerminalEntity
def moveTo(pt: Point): TerminalEntity
def moveTo(x: Int, y: Int): TerminalEntity
def ref: Point
def rotation: Radians
def scale: Vector2
def size: Size
def toShaderData: ShaderData
def withCharSize(newCharSize: Size): TerminalEntity
def withDepth(newDepth: Depth): TerminalEntity
def withGridSize(newGridSize: Size): TerminalEntity
def withMap(newMap: Batch[MapTile]): TerminalEntity
def withMask(newColor: RGBA): TerminalEntity
def withMask(newColor: RGB): TerminalEntity
def withPosition(newPosition: Point): TerminalEntity
def withTileSheet(newTileSheet: AssetName): TerminalEntity

Inherited methods

def bounds: Rectangle
Inherited from:
EntityNode
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product