TileModelSprite constructor

TileModelSprite({
  1. required String path,
  2. Vector2? position,
  3. Vector2? size,
})

Implementation

TileModelSprite({
  required this.path,
  Vector2? position,
  Vector2? size,
})  : position = position ?? Vector2.zero(),
      size = size ?? Vector2.zero();