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.cpp
- Revision:
- 38:09832e662803
- Parent:
- 37:a404860171a9
diff -r a404860171a9 -r 09832e662803 Entity/Entity.cpp --- a/Entity/Entity.cpp Tue May 07 03:47:39 2019 +0000 +++ b/Entity/Entity.cpp Tue May 07 09:09:38 2019 +0000 @@ -62,7 +62,11 @@ position.y += change_y; } -// accessors +// Accessors +char Entity::get_type() +{ + return _type; +} bool Entity::get_moving() { return moving;