Only allow player to shoot if player does not have any projectiles pending

This commit is contained in:
xethm55 committed 2012-10-06 10:57:05 -04:00
1 parent 3e22ad70e1
commit cf3f64fed9
4 files changed
+58 -24

No files matched your search

+1
View File
@@ -20,5 +20,6 @@ Player::Player()
m_shot_start_x = 0.0;
m_shot_start_y = 0.0;
m_shot_direction = 0.0;
m_shot_allowed = true;
}
+1 -1
View File
@@ -26,7 +26,7 @@ class Player
double m_shot_start_y;
double m_shot_direction;
double m_shot_start_time;
bool m_shot_allowed;
Player();
};