TiledGrid<U extends num> class abstract

Inheritance
Implementers

Constructors

TiledGrid(int tilesInRow, {Point<U>? zero, Point<U>? size})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Point<U>
getter/setter pairinherited
tileHeight double
no setter
tileHeightRatio double
no setter
tileShape Tile
no setter
tilesInRow int
getter/setter pair
tileWidth double
no setter
zero Point<U>
getter/setter pairinherited

Methods

gridSnapCentered(Point<num> center, int size) Point<num>
override
gridToWorldSpace(Point<num> gridPos) Point<double>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
snapToIntersection(Point<num> worldPos) Point<num>
tileCenterInGrid(Point<int> tile) Point<double>
tileCenterInWorld(Point<int> tile) Point<double>
toString() String
A string representation of this object.
inherited
worldSnapCentered(Point<num> center, int size) Point<num>
override
worldToGridSpace(Point<num> worldPos) Point<double>
override
worldToTile(Point<num> worldPos) Point<int>

Operators

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