tile method

BoardTilesSpawned tile(
  1. int x,
  2. int y,
  3. ItemLocation asset,
  4. int tileX,
  5. int tileY,
)

Implementation

BoardTilesSpawned tile(
        int x, int y, ItemLocation asset, int tileX, int tileY) =>
    addTile(x, y, BoardTile(asset, VectorDefinition(tileX, tileY)));