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<CollisionArea>? collisions,
})

Implementation

MapTerrainCorners({
  required double value,
  required this.to,
  required this.spriteSheet,
  String? type,
  Map<String, dynamic>? properties,
  List<CollisionArea>? collisions,
}) : super(
        value: value,
        sprites: [],
        type: type,
        properties: properties,
        collisions: collisions,
      );