A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Entity/Entity.cpp
- Committer:
- el17sm
- Date:
- 2019-04-21
- Revision:
- 10:1a3499f6b583
- Parent:
- Entity.cpp@ 7:4aaa37a711a1
- Child:
- 11:63e54f6e7939
File content as of revision 10:1a3499f6b583:
#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;}