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:
- 10:1a3499f6b583
- Parent:
- 7:4aaa37a711a1
- Child:
- 11:63e54f6e7939
diff -r 304079450898 -r 1a3499f6b583 Entity/Entity.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Entity/Entity.cpp Sun Apr 21 23:23:35 2019 +0000 @@ -0,0 +1,16 @@ +#include "Entity.h" + +// constructors + + +// accessors +bool Entity::get_moving(){return moving;} +int Entity::get_hitbox_width(){return hitbox.width;} +int Entity::get_hitbox_height(){return hitbox.height;} +int Entity::get_face(){return face;} +int Entity::get_sprite_width(){return sprite_size.width;} +int Entity::get_sprite_height(){return sprite_size.height;} +int Entity::get_offset_x(){return sprite_size.offset_x;} +int Entity::get_offset_y(){return sprite_size.offset_y;} +int Entity::get_pos_x(){return position.x;} +int Entity::get_pos_y(){return position.y;} \ No newline at end of file