TerrainSpriteSheet class

Constructors

TerrainSpriteSheet({required TileSprite left, required TileSprite right, required TileSprite top, required TileSprite topLeft, required TileSprite topRight, required TileSprite bottom, required TileSprite bottomLeft, required TileSprite bottomRight, required TileSprite invertedTopLeft, required TileSprite invertedTopRight, required TileSprite invertedBottomLeft, required TileSprite invertedBottomRight})

Properties

bottom TileSprite
final
bottomLeft TileSprite
final
bottomRight TileSprite
final
hashCode int
The hash code for this object.
no setterinherited
invertedBottomLeft TileSprite
final
invertedBottomRight TileSprite
final
invertedTopLeft TileSprite
final
invertedTopRight TileSprite
final
left TileSprite
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top TileSprite
final
topLeft TileSprite
final
topRight TileSprite
final

Methods

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

Static Methods

create({required String path, required Vector2 tileSize, Vector2? position}) TerrainSpriteSheet