TileImage constructor

TileImage({
  1. Vector3? position,
  2. required Size size,
  3. String name = '',
  4. String path = '',
  5. Color color = const Color(0xffff0000),
  6. TileGrid? grid,
  7. required int offsetHeight,
})

Implementation

TileImage({
  Vector3? position,
  required this.size,
  this.name = '',
  this.path = '',
  this.color = const Color(0xffff0000),
  TileGrid? grid,
  required this.offsetHeight,
}){
  this.position = position ??Vector3(0.0, 0.0, 0.0);
  this.grid = grid ??TileGrid();
}