![]() |
Raymond Maarloeve
|
Responsible for spawning a clue near the building of the murderer NPC. More...
Public Member Functions | |
ClueSpawner (Terrain terrain, int tileSize) | |
Initializes a new instance of the ClueSpawner class. | |
void | SpawnClues (Tile[,] tiles, List< Tile > allTiles, List< ClueSetup > clues) |
Spawns a clue next to the murderer's house entrance on a suitable free tile. | |
Responsible for spawning a clue near the building of the murderer NPC.
ClueSpawner.ClueSpawner | ( | Terrain | terrain, |
int | tileSize | ||
) |
Initializes a new instance of the ClueSpawner class.
terrain | Reference to the terrain used for clue placement. |
tileSize | Size of a tile in world units. |
Spawns a clue next to the murderer's house entrance on a suitable free tile.
tiles | 2D grid of map tiles. |
allTiles | Flat list of all tiles (not used here, but required for consistency). |
clues | List of clue prefabs to choose from. |