コード例 #1
0
 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);
 }