Block class

This is just a pair of <int, int>.

Represents a position in a matrix, or in this case, on the tilemap.

Annotations

Constructors

Block(int x, int y)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x int
x coordinate in the matrix.
final
y int
y coordinate in the matrix.
final

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 ==(Object other) bool
The equality operator.
override