DungeonCrawl
Loading...
Searching...
No Matches
map_populator.h File Reference

Exposes functions for populating the generated map with a key, enemies and fountains. More...

Go to the source code of this file.

Functions

void populate_map ()
 @breif Populates the map with a key, enemies, and fountains

Detailed Description

Exposes functions for populating the generated map with a key, enemies and fountains.

Definition in file map_populator.h.

Function Documentation

◆ populate_map()

void populate_map ( )

@breif Populates the map with a key, enemies, and fountains

Definition at line 112 of file map_populator.c.

112 {
113 place_key();
116}
void place_enemies()
Place enemies in random locations on the map.
void place_key()
Place a key in a dead end that is not the start or exit edge.
void place_fountains()
Place a mana fountain and a life fountain in random dead ends on the map.