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:
- 20:6405835af6e2
- Parent:
- 14:3361879490b2
--- a/Entity/Entity.cpp Wed Apr 24 06:28:14 2019 +0000 +++ b/Entity/Entity.cpp Thu Apr 25 04:40:30 2019 +0000 @@ -11,7 +11,7 @@ position.y = prev_pos.y; } } -void Entity::update_prev_pos(){prev_pos = position;}; +void Entity::update_prev_pos(){prev_pos = position;} bool Entity::matrix_collision_test(float pos_x, float pos_y, int map_no){ for (int j = pos_y; j < (int)pos_y + hitbox.height; j++){