Exemplo n.º 1
0
 private void _tvView_OnDeleteReactor(ReactorSchema obj)
 {
     if (currentlySelectedShip == null)
     {
         return;
     }
     OnDelete(currentlySelectedShip.Reactors, obj);
 }
Exemplo n.º 2
0
 public static Reactor Construct(ReactorSchema reactorSchema)
 {
     return(new Reactor(reactorSchema.Name, reactorSchema.MaxHealth, reactorSchema.Mass, reactorSchema.UpkeepCost, reactorSchema.MaxPower));
 }