Check if weapon collision point is inside enemy and do weapon damage
This commit is contained in:
@@ -151,6 +151,9 @@ void CrystalPoint::update()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (keyboardState.keys[27]){
|
||||
glutExit();
|
||||
}
|
||||
menu->update();
|
||||
cursor->update(cursor->mousePosition + mouseOffset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user