MapTerrainCorners constructor
MapTerrainCorners({
- required double value,
- required double? to,
- required TerrainSpriteSheet spriteSheet,
- String? type,
- Map<
String, dynamic> ? properties, - List<
ShapeHitbox> ? collisionsBuilder()?,
Implementation
MapTerrainCorners({
required double value,
required this.to,
required this.spriteSheet,
String? type,
Map<String, dynamic>? properties,
List<ShapeHitbox>? Function()? collisionsBuilder,
}) : super(
value: value,
sprites: [],
type: type,
properties: properties,
collisionsBuilder: collisionsBuilder,
);