renamed weapons folder to exterminatorGame

This commit is contained in:
ericrius1 2015-11-16 14:09:47 -08:00
parent ed1ee50865
commit f77b7b9105
4 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
Script.include("../libraries/utils.js"); Script.include("../libraries/utils.js");
Script.include("../libraries/constants.js"); Script.include("../libraries/constants.js");
@ -166,7 +167,9 @@ function fire(side, value) {
velocity: Vec3.multiply(shotDirection, GUN_FORCE) velocity: Vec3.multiply(shotDirection, GUN_FORCE)
}); });
createEntityHitEffect(intersection.intersection); createEntityHitEffect(intersection.intersection);
} else { }
if (intersection.properties.name === "rat") {
} }
//Attempt to call entity method's shot method //Attempt to call entity method's shot method