]> 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 d92429c043f9019ccb4f4e2d4c137f9b19bed199..398530b75bd36b61da2193bc499191a8866d98fa 100644 (file)
@@ -1,5 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -65,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;