Initial publish
Dependencies: mbed
Fork of el17dg by
game/gameobject.h
- Committer:
- Noximilien
- Date:
- 2019-04-10
- Revision:
- 28:35af3843de8f
- Parent:
- 27:f05f4e738ba9
- Child:
- 29:579e00b7f118
File content as of revision 28:35af3843de8f:
#ifndef GAMEOBJECT_H #define GAMEOBJECT_H #include "geometry.h" ///////////////////////////////////////////////////////////////////// class GameObject { public: /**This function assigns the position to the obejsts (sprites) */ void spawn(Point spawn_pos) { pos = spawn_pos; active = true; } Point pos; bool active; }; #endif