BlankEntity

indigo.shared.scenegraph.BlankEntity
See theBlankEntity companion object
final case class BlankEntity(size: Size, eventHandlerEnabled: Boolean, eventHandler: ((BlankEntity, GlobalEvent)) => Option[GlobalEvent], shaderData: ShaderData, position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends EntityNode[BlankEntity], Cloneable, SpatialModifiers[BlankEntity]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Cloneable
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 flipHorizontal(isFlipped: Boolean): BlankEntity
def flipVertical(isFlipped: Boolean): BlankEntity
def moveBy(x: Int, y: Int): BlankEntity
def moveTo(x: Int, y: Int): BlankEntity
def onEvent(f: PartialFunction[(BlankEntity, GlobalEvent), GlobalEvent]): BlankEntity
def scaleBy(amount: Vector2): BlankEntity
def scaleBy(x: Double, y: Double): BlankEntity
def transformBy(positionDiff: Point, rotationDiff: Radians, scaleDiff: Vector2): BlankEntity
def transformTo(newPosition: Point, newRotation: Radians, newScale: Vector2): BlankEntity
def withDepth(newDepth: Depth): BlankEntity
def withFlip(newFlip: Flip): BlankEntity
def withPosition(newPosition: Point): BlankEntity
def withRef(newRef: Point): BlankEntity
def withRef(x: Int, y: Int): BlankEntity
def withRotation(newRotation: Radians): BlankEntity
def withScale(newScale: Vector2): BlankEntity
def withShaderData(newShaderData: ShaderData): BlankEntity

Inherited methods

Attributes

Inherited from:
EntityNode
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val height: Int
lazy val width: Int
lazy val x: Int
lazy val y: Int