jackjackrene / SAD_Pi

4 stars 1 forks source link

GameClient - detect how many missiles are left #3

Closed jackjackrene closed 9 years ago

jackjackrene commented 9 years ago

As a GameClient I want to be able to detect how many missiles are left because I need to know when there are no missiles left.

thomasericdean commented 9 years ago

ID: #3 Name: Missile Detection Pre-Condition: Knowing how many missiles have been fired. Normal Steps:

  1. Fire a shot.
  2. Increment # of shots fired.
  3. Subtract total # of missiles by # of shots fired. Alternative Steps:N/A Post-Condition: All missiles are fired.
jadmr commented 9 years ago

Implemented in CurrentMissileCount filed and updated in Fire method in DreamCheekyMissileLauncher