public ShipSystem(ShipSystemModel model) { this.model = model; system = model.system.BuildForest(n => SystemLink.Pack(n.item)); power = system.trees.Select(n => (PowerLink)n).ToArray(); }
public void AddShip(ShipSystemModel ship) { ships.Add(ship); }