Boot() public method

public Boot ( ) : void
return void
Esempio n. 1
0
 public void initCpu()
 {
     if (cpu == null)
     {
         cpu = new CPU(this, "ksp");
         cpu.AttachHardDisk(hardDisk);
         cpu.Boot();
     }
 }
Esempio n. 2
0
 public void initCpu()
 {
     if (cpu == null)
     {
         cpu = new CPU(this, "ksp");
         cpu.AttachHardDisk(hardDisk);
         cpu.Boot();
     }
 }
Esempio n. 3
0
        public override void OnStart(PartModule.StartState state)
        {
            cpu = new CPU(this, "ksp");

            if (hardDisk == null)
            {
                hardDisk = new Harddisk(MemSize);
            }

            cpu.AttachHardDisk(hardDisk);
            cpu.Boot();
        }
Esempio n. 4
0
        public override void OnStart(PartModule.StartState state)
        {
            //Do not start from editor and at KSP first loading
            if (state == StartState.Editor || state == StartState.None)
            {
                return;
            }

            cpu = new CPU(this, "ksp");

            if (hardDisk == null)
            {
                hardDisk = new Harddisk(MemSize);
            }

            cpu.AttachHardDisk(hardDisk);
            cpu.Boot();
        }
Esempio n. 5
0
        public override void OnStart(PartModule.StartState state)
        {
            //Do not start from editor and at KSP first loading
            if (state == StartState.Editor || state == StartState.None)
            {
                return;
            }

            cpu = new CPU(this, "ksp");

            if (hardDisk == null) hardDisk = new Harddisk(MemSize);

            cpu.AttachHardDisk(hardDisk);
            cpu.Boot();
        }