Exemplo n.º 1
0
 // Event
 private void fireLauncherIsHiddenEvent(String launcherId) {
   for (WarEventListener l : allListeners) {
     l.defenseMissInterceptionHiddenLauncher(id, type, launcherId);
   }
 }
Exemplo n.º 2
0
 // Event
 private void fireLauncherNotExist(String launcherId) {
   for (WarEventListener l : allListeners) l.enemyLauncherNotExist(id, launcherId);
 }
Exemplo n.º 3
0
 // Event
 private void fireLaunchMissileEvent(String missileId) {
   for (WarEventListener l : allListeners) {
     l.defenseLaunchMissile(id, type, missileId, toDestroy.getLauncherId());
   }
 }