コード例 #1
0
 protected virtual void PerformDropBombAction(GenericShip ship)
 {
     ActionsList.GenericAction action = new ActionsList.BombDropAction()
     {
         Name   = "Drop " + UpgradeInfo.Name,
         Source = this
     };
     HostShip.AddAvailableAction(action);
 }
コード例 #2
0
 private void PerformDropBombAction(GenericShip ship)
 {
     ActionsList.GenericAction action = new ActionsList.BombDropAction()
     {
         Name   = "Drop " + Name,
         Source = this
     };
     Host.AddAvailableAction(action);
 }