diff options
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h index 64a251a..e0c0887 100644 --- a/include/entities.h +++ b/include/entities.h @@ -34,6 +34,25 @@ enum MOB_SUB { MS_TRIGGER }; +struct Particles{ + vec2 loc; + float width; + float height; + Color color; + Particles(float x, float y, float w, float h, Color c){ + loc.x = (x); + loc.y = (y); + width = (w); + height = (h); + color.red = (c.red); + color.green = (c.green); + color.blue = (c.blue); + } + void draw(){ + std::cout << "Drawing Particles\n"; + } +}; + class Entity{ public: Inventory *inv; |