TerminalEntity

io.indigoengine.roguelike.starterkit.terminal.TerminalEntity
See theTerminalEntity companion object
final case class TerminalEntity(tileSheet: AssetName, gridSize: Size, charSize: Size, mask: RGBA, map: Batch[MapTile], position: Point, depth: Depth, maxTileCount: Int) extends EntityNode[TerminalEntity]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EntityNode[TerminalEntity]
trait RenderNode[TerminalEntity]
trait SceneNode
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type Out = T

Attributes

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

Attributes

Inherited from:
EntityNode
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product