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.h
- Revision:
- 34:1d5b4da3935e
- Parent:
- 32:fe6359ef9916
- Child:
- 37:a404860171a9
--- a/Entity/Entity.h Mon May 06 13:27:26 2019 +0000 +++ b/Entity/Entity.h Mon May 06 13:58:39 2019 +0000 @@ -45,13 +45,13 @@ public: // Function - virtual void move(float, float, int * map, bool * doorways) = 0; // movement control and miscellaneous updates + virtual void move(float, float, char * map, bool * doorways) = 0; // movement control and miscellaneous updates virtual void take_damage(int) = 0; virtual void draw(N5110 &lcd) = 0; void undo_move_x(bool); void undo_move_y(bool); void update_prev_pos(); - bool entity_to_map_collision_test(float pos_x, float pos_y, int * map, bool * doorways); + bool entity_to_map_collision_test(float pos_x, float pos_y, char * map, bool * doorways); // Mutator void set_position(float x, float y);