summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index e8c179a..f5341d1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -125,7 +125,7 @@ public:
render->render(&assets::human.body_idle, render_bounds, move.angle);
render->render(&assets::human.head_idle, render_bounds, move.angle);
- if (move.moving)
+ if (move.moving && debug_draw_paths)
render->debug_path(&move.path);
}
};
@@ -148,9 +148,14 @@ void state_t::start(void)
}
-void state_t::debug_click(v2f_t x)
+void state_t::select(rectf_t x)
{
- human.start_moving(x);
+
+}
+
+void state_t::command(v2f_t x)
+{
+
}
void state_t::tick(double now)