BoardTilesSpawned.singleTile constructor

BoardTilesSpawned.singleTile(
  1. GlobalVectorDefinition position,
  2. BoardTile tile
)

Implementation

BoardTilesSpawned.singleTile(GlobalVectorDefinition position, BoardTile tile)
    : table = position.table,
      tiles = {
        position.position: [tile]
      };