A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Diff: Entity/Entity.h
- Revision:
- 32:fe6359ef9916
- Parent:
- 29:6b8411bb040a
- Child:
- 34:1d5b4da3935e
diff -r ab24d028ddfd -r fe6359ef9916 Entity/Entity.h --- a/Entity/Entity.h Sun May 05 18:37:23 2019 +0000 +++ b/Entity/Entity.h Mon May 06 08:56:48 2019 +0000 @@ -2,6 +2,7 @@ #define ENTITY_H #include "sprites.h" #include "math.h" +#include "N5110.h" class Entity { @@ -45,8 +46,8 @@ public: // Function virtual void move(float, float, int * map, bool * doorways) = 0; // movement control and miscellaneous updates - virtual int * get_frame() = 0; virtual void take_damage(int) = 0; + virtual void draw(N5110 &lcd) = 0; void undo_move_x(bool); void undo_move_y(bool); void update_prev_pos();