Basic autowalking feature is working. Not every smart but hit O and it'll walk around and kill everything, hit any other key to stop it.
This commit is contained in:
parent
a876229e18
commit
14a96d0b63
2 changed files with 114 additions and 0 deletions
|
@ -46,6 +46,7 @@ namespace gui {
|
|||
public:
|
||||
sf::RenderWindow $window;
|
||||
bool $draw_stats = false;
|
||||
bool $autowalking = false;
|
||||
LevelManager $levels;
|
||||
MainUI $main_ui;
|
||||
SFMLRender $renderer;
|
||||
|
@ -58,6 +59,7 @@ namespace gui {
|
|||
FSM();
|
||||
|
||||
void event(Event ev);
|
||||
void autowalk();
|
||||
|
||||
void START(Event );
|
||||
void MOVING(Event );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue