diff options
Diffstat (limited to 'include/entities.hpp')
-rw-r--r-- | include/entities.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/entities.hpp b/include/entities.hpp index 5417dac..3e78687 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -149,7 +149,7 @@ public: ~Particles(void){} // draws the particle - void draw(void) const; + std::vector<std::pair<vec2, vec3>> draw(void) const; // updates a particle void update(float _gravity, float ground_y); @@ -183,6 +183,7 @@ protected: public: // contains the entity's coordinates, in pixels vec2 loc; + float z; // contains the entity's velocity, in pixels vec2 vel; |