Beispiel #1
0
 public AutoCloseDoors(Sandbox.ModAPI.Ingame.MyGridProgram program, string key = "[autoclose]", int delay = 300)
 {
     doors   = new Dictionary <string, Door>();
     Key     = key;
     Delay   = (delay < 0) ? 300 : delay;
     Program = program;
 }
Beispiel #2
0
            public SingleAxisThrustShip(IMyTerminalBlock remote, IMyGridTerminalSystem gts, MyGridProgram pro)
                : base(remote, gts, pro)
            {

            }
Beispiel #3
0
 public Airlocks(Sandbox.ModAPI.Ingame.MyGridProgram program, string key = "[airlock]")
 {
     this.doors   = new Dictionary <string, AirlockDoor>();
     this.Program = program;
     this.Key     = key;
 }
Beispiel #4
0
            public Ship(IMyTerminalBlock remote, IMyGridTerminalSystem gts, MyGridProgram pro, String Name = "LCDebug")
            {
                GridTerminalSystem = gts;
                this.remote = remote;
                PopulateGyros();

                lastPos = remote.GetPosition();
                Me = pro;
                PopulateThrusters();
                // GetStoredInScreen(Name);          
            }