DinkyECS is now controlling the game and can handle multiple enemies easily. Next is to clean this up so it's not just one gross pile of code in the gui.
This commit is contained in:
parent
86c98c43c2
commit
33327154ad
9 changed files with 195 additions and 149 deletions
4
map.hpp
4
map.hpp
|
@ -75,8 +75,8 @@ public:
|
|||
void place_rooms(Room &root);
|
||||
void make_paths();
|
||||
void partition_map(Room &cur, int depth);
|
||||
void set_target(Point &at, int value=0);
|
||||
void clear_target(Point &at);
|
||||
void set_target(const Point &at, int value=0);
|
||||
void clear_target(const Point &at);
|
||||
bool walk(Point &src, Point &target);
|
||||
void set_door(Room &room, int value);
|
||||
void dump();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue