public void AddShot(Shot shot)
 {
     shot.Scene = this;
     SSTaskFactory.ShotMoveTask.AddShot(shot);
     SSTaskFactory.ShotDrawTask.AddShot(shot);
     SSTaskFactory.ShotUpdateTask.AddShot(shot);
     SSTaskFactory.CollitionTask.AddInteractors(shot);
 }
예제 #2
0
 public void AddShot(Shot shot)
 {
     shot.OnDispose += this.DeathAt;
     this.ShotList.Add(shot);
 }