예제 #1
0
 private void LaunchRocket()
 {
     if (ammunition.RocketIsReady())
     {
         playerShooter.Fire(1); //Second gun will be fired
         ammunition.RocketHasBeenLaunched();
     }
 }