Block class
This is just a pair of int, int.
Represents a position in a 2d-matrix or tilemap.
- Annotations
Constructors
- Block(int x, int y)
-
const
- Block.ceilFromVector2(Vector2 position)
- Block.floorFromVector2(Vector2 position)
- Block.roundFromVector2(Vector2 position)
- Block.zero()
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toVector2(
) → Vector2
Operators
-
operator *(
double scalar) → Vector2 -
operator +(
Block direction) → Block -
operator -(
Block other) → Block -
operator ==(
Object other) → bool -
The equality operator.
override