Boot() публичный Метод

public Boot ( ) : void
Результат void
Пример #1
0
 public void initCpu()
 {
     if (cpu == null)
     {
         cpu = new CPU(this, "ksp");
         cpu.AttachHardDisk(hardDisk);
         cpu.Boot();
     }
 }
Пример #2
0
 public void initCpu()
 {
     if (cpu == null)
     {
         cpu = new CPU(this, "ksp");
         cpu.AttachHardDisk(hardDisk);
         cpu.Boot();
     }
 }
Пример #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();
        }
Пример #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();
        }
Пример #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();
        }