Add weapon switching

This commit is contained in:
2016-06-21 19:05:06 +02:00
parent 3025fecf94
commit f80b513d90
10 changed files with 631 additions and 6 deletions
+1
View File
@@ -13,6 +13,7 @@ Weapon::Weapon(std::string name, int damage, Element e, std::string modelFilenam
Vec3f offsetPlayer, Vec3f ankerPoint,
Vec2f maxRotation, Vec2f minRotation,
Vec3f collision){
weaponmodel = Model::load(modelFilename);
rotate(rotation);
move(location);