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