Actor class

Superclass for all Actors.

Implementers

Constructors

Actor([World world, int x, int y])
Constructor.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
image BitmapData
Returns this actor's current image.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
world World
A reference to the world.
read / write
x int
The horizontal position.
read / write
y int
The vertical position.
read / write
zIndex int
The stack order of this element.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited