예제 #1
0
 private void OnExplosion(TankShell tankShell)
 {
     _activeTankShells.Remove(tankShell);
     _freeTankShells.Add(tankShell);
     tankShell.Deactivate();
 }
예제 #2
0
 private void OnShoot(TankShell shell)
 {
     _freeTankShells.Remove(shell);
     _activeTankShells.Add(shell);
 }