Star class

A star can be put and removed by the player.

Inheritance

Constructors

Star(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, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
world World
A reference to the world.
read / write, inherited
x int
The horizontal position.
read / write, inherited
y int
The vertical position.
read / write, inherited
zIndex int
The stack order of this element.
read-only, override

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