Ejemplo n.º 1
0
        public MTS(ShipHullTable table)
        {
            mount_MAX   = table.ship["MTS"]["mount_MAX"].IntValue;
            nozzle_SIZE = table.ship["MTS"]["nozzle_SIZE"].Value;
            mtsLocation = new Vec3(table.shipCoords["MTSlocation"]);

            controller = new MTSController(table.ship["MTS"]["Controller1_LOC"]);

            boosters = new List <MTSBooster>();
            int i = 1;

            while (table.shipCoords["booster" + i].Count > 0)
            {
                boosters.Add(new MTSBooster(table.shipCoords["booster" + i]));
                i++;
            }
        }
Ejemplo n.º 2
0
 public void LoadFrom(MTSController controller)
 {
     _controller = controller;
 }
Ejemplo n.º 3
0
 public MTS()
 {
     mtsLocation = new Vec3();
     controller  = new MTSController();
     boosters    = new List <MTSBooster>();
 }
Ejemplo n.º 4
0
 public MTSControllerViewModel(MTSController controller)
 {
     LoadFrom(controller);
 }