Created a combat system to start with and also added a 'HEARING' mechanic where enemies can hear you from a certain distance before moving to you.
This commit is contained in:
parent
753bc70b77
commit
9102bdc8ad
9 changed files with 70 additions and 24 deletions
1
gui.cpp
1
gui.cpp
|
@ -164,6 +164,7 @@ void GUI::run_systems() {
|
|||
System::enemy_pathing($world, $game_map, player);
|
||||
System::motion($world, $game_map);
|
||||
System::combat($world, player);
|
||||
System::death($world);
|
||||
}
|
||||
|
||||
void GUI::resize_map(int new_size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue