MapTerrain class
- Implementers
Constructors
-
MapTerrain({required double value, required List<
TileModelSprite> sprites, List<double> spritesProportion = const [], String? type, Map<String, dynamic> ? properties, List<CollisionArea> ? collisions, bool collisionOnlyCloseCorners = false})
Properties
- collisionOnlyCloseCorners → bool
-
final
-
collisions
→ List<
CollisionArea> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRandomValue → int
-
no setter
-
properties
→ Map<
String, dynamic> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sprites
→ List<
TileModelSprite> -
final
-
spritesProportion
→ List<
double> -
final
- type → String?
-
final
- value → double
-
final
Methods
-
getCollisionClone(
{bool checkOnlyClose = false}) → List< CollisionArea> ? -
getSingleSprite(
) → TileModelSprite? -
inRange(
int value) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited