Check if weapon collision point is inside enemy and do weapon damage

This commit is contained in:
jancoow
2016-06-21 17:00:36 +02:00
parent 0a0fdfc8b1
commit 4249e35653
7 changed files with 33 additions and 7 deletions
+3
View File
@@ -151,6 +151,9 @@ void CrystalPoint::update()
}
else
{
if (keyboardState.keys[27]){
glutExit();
}
menu->update();
cursor->update(cursor->mousePosition + mouseOffset);
}