Stick_Runner
Dependencies: FXOS8700CQ Gamepad N5110 SDFileSystem mbed
Diff: Character/Character.h
- Revision:
- 1:db9ff66f67c8
- Parent:
- 0:12cfe63faa6a
- Child:
- 2:98a41609c827
--- a/Character/Character.h Fri Apr 28 09:00:21 2017 +0000 +++ b/Character/Character.h Fri Apr 28 16:30:47 2017 +0000 @@ -13,24 +13,24 @@ ~Character(); void init(); void draw(N5110 &lcd); - void update(Direction d,float mag); - void Character_Status(Vector2D p); - void Character_Score(Vector2D p); + void updateCharacter(Direction d,float mag); + void characterStatus(Vector2D p); + void characterScore(Vector2D p); void add_score(); int get_score(); - Vector2D get_pos(); - bool get_status(); + Vector2D getCharacterPos(); + bool getCharacterStatus(); private: int _height; int _width; - int _x; - int _y; + int charPosX; + int charPosY; int _speed; int _score; - bool _status; - int counter; + bool charStatus; + // int counter; }; #endif \ No newline at end of file