예제 #1
0
파일: MTS.cs 프로젝트: polytronicgr/RSSE
        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++;
            }
        }
예제 #2
0
 public void LoadFrom(MTSController controller)
 {
     _controller = controller;
 }
예제 #3
0
파일: MTS.cs 프로젝트: polytronicgr/RSSE
 public MTS()
 {
     mtsLocation = new Vec3();
     controller  = new MTSController();
     boosters    = new List <MTSBooster>();
 }
예제 #4
0
 public MTSControllerViewModel(MTSController controller)
 {
     LoadFrom(controller);
 }