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:
- 38:09832e662803
- Parent:
- 37:a404860171a9
--- a/Entity/Entity.h Tue May 07 03:47:39 2019 +0000 +++ b/Entity/Entity.h Tue May 07 09:09:38 2019 +0000 @@ -41,6 +41,7 @@ int face; float velocity; int _hp_drop_chance; + char _type; public: // Function @@ -58,6 +59,7 @@ void position_add_y(float); // Accessors + char get_type(); bool get_moving(); int get_hp_drop_chance(); int get_hitbox_width();