MapTerrainCorners constructor

MapTerrainCorners({
  1. required double value,
  2. required double? to,
  3. required TerrainSpriteSheet spriteSheet,
  4. String? type,
  5. Map<String, dynamic>? properties,
  6. 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,
      );