TileAtlas constructor

TileAtlas({
  1. int location = 0,
  2. bool isTileSet = true,
  3. List<Rect>? rect,
  4. List<RSTransform>? transform,
})

Implementation

TileAtlas({
  this.location = 0,
  this.isTileSet = true,
  List<Rect>? rect,
  List<RSTransform>? transform,
}){
  this.rect = rect ?? [];
  this.transform = transform ?? [];
}