Exemplo n.º 1
0
 public void UFOIsShot(UFOController UFOCtrl)
 {
     // 响应UFO被击中的事件
     scorer.record(difficultyManager.getDifficulty());
     actionManager.removeActionOf(UFOCtrl.getObj());
     UFOfactory.recycle(UFOCtrl);
     explosionFactory.explodeAt(UFOCtrl.getObj().transform.position);
 }