TileWithCollision constructor
TileWithCollision({})
Implementation
TileWithCollision({
required String spritePath,
required Vector2 position,
required Vector2 size,
String? tileClass,
this.collisions,
double offsetX = 0,
double offsetY = 0,
Map<String, dynamic>? properties,
}) : super(
spritePath: spritePath,
position: position,
size: size,
tileClass: tileClass,
offsetX: offsetX,
offsetY: offsetY,
properties: properties,
);