aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-10 08:13:15 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-10 08:13:15 -0500
commitb28023525c6dcf2360c8d03b405d46af4e0e1c6d (patch)
treeec35eed3f48d089da8ee4ec5ebb14c9db328ce6c /include/entities.h
parentce169efec21d44b6c7b3133280d9088ba1c108a5 (diff)
Doing shit
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h19
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;