ELEC2645 (2019/20)
/
ELEC2645_Project_el18jb
test 1 doc
Diff: Player/Player.h
- Revision:
- 7:530ca713d2b2
- Parent:
- 5:928c2eee4109
- Child:
- 8:d19b30a6cd69
--- a/Player/Player.h Mon May 25 16:17:58 2020 +0000 +++ b/Player/Player.h Tue May 26 01:45:20 2020 +0000 @@ -17,11 +17,11 @@ void init(int x, int y); //bool health; - bool jump(Gamepad &pad); + //bool is_jumping(); void draw(N5110 &lcd); bool floorCollide(); - void update(Direction d, float mag); + void update(Direction d, float mag, int Ypos, bool fall, bool jump); Vector2D get_pos(); private: