]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Weapons.h
Refactor of weapon throwing in Weapon class. (named it thrown as throw is reserved...
[lugaru.git] / Source / Weapons.h
index 0c66b5d78004722a5e98b8485fd3e8fe2dee61b1..398530b75bd36b61da2193bc499191a8866d98fa 100644 (file)
@@ -66,6 +66,9 @@ public:
     }
     void setType(int);
 
+    void drop(XYZ velocity, XYZ tipvelocity, bool sethitsomething = true);
+    void thrown(XYZ velocity, bool sethitsomething = true);
+
     int owner;
     XYZ position;
     XYZ tippoint;