A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.

Dependencies:   mbed MotionSensor

Entity.cpp

Committer:
el17sm
Date:
2019-04-20
Revision:
7:4aaa37a711a1
Parent:
6:104c2506237e

File content as of revision 7:4aaa37a711a1:

#include "Entity.h"

// constructors


// accessors
bool Entity::get_moving(){return moving;}
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;}