Esempio n. 1
0
 public ShipHullViewModel(ShipHull ship)
 {
     _ship          = ship;
     Subsystems     = new SubsystemsManagerViewModel(ship.subsystemsManager);
     ExteriorMeshes = new MeshTreeViewModel(ship.exteriorMeshes);
     InteriorMeshes = new MeshTreeViewModel(ship.interiorMeshes);
 }
Esempio n. 2
0
 public ShipHullViewModel()
 {
     _ship          = new ShipHull();
     Subsystems     = new SubsystemsManagerViewModel();
     ExteriorMeshes = new MeshTreeViewModel();
     InteriorMeshes = new MeshTreeViewModel();
 }