FireAtlas constructor

FireAtlas({
  1. required String id,
  2. required double tileWidth,
  3. required double tileHeight,
  4. required String? imageData,
})

Creates a FireAtlas instance.

This constructor is often used internally; to load a FireAtlas instance into you game, check loadAsset.

Implementation

FireAtlas({
  required this.id,
  required this.tileWidth,
  required this.tileHeight,
  required this.imageData,
});