aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/player/PlayerScript.h')
-rw-r--r--game/player/PlayerScript.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/game/player/PlayerScript.h b/game/player/PlayerScript.h
index d8eb098..cdb466f 100644
--- a/game/player/PlayerScript.h
+++ b/game/player/PlayerScript.h
@@ -7,10 +7,11 @@ class PlayerScript : public crepe::Script {
public:
void init();
void fixed_update(crepe::duration_t dt);
-
+
private:
bool on_collision(const crepe::CollisionEvent & ev);
-
+ // bool on_key_up(const crepe::KeyReleaseEvent& ev);
+ void shoot(const crepe::vec2& location,float angle);
private:
int prev_anim = 0;
};