Inheritance: Volume
Beispiel #1
0
Datei: CPU.cs Projekt: BGog/KOS
        public CPU(object parent, string context)
        {
            this.Parent = parent;
            this.Context = context;

            bindingManager = new BindingManager(this, Context);

            if (context == "ksp")
            {
                archive = new Archive(Vessel);

                Volumes.Add(archive);

            }
        }
Beispiel #2
0
        public CPU(object parent, string context)
        {
            this.Parent = parent;
            this.Context = context;

            bindingManager = new BindingManager(this, Context);

            if (context == "ksp")
            {
                archive = new Archive(Vessel);

                Volumes.Add(archive);
            }

            this.RegisterkOSExternalFunction(new object[] { "test2", this, "testFunction", 1 });
        }
Beispiel #3
0
Datei: CPU.cs Projekt: Nivekk/KOS
        public CPU(object parent, string context)
        {
            this.Parent = parent;
            this.Context = context;

            for (int i = 0; i < FUNCTION_BUTTON_COUNT; i++) ButtonStates[i] = new TerminalButton(this, i);

            bindingManager = new BindingManager(this, Context);

            if (context == "ksp")
            {
                RunType = kOSRunType.KSP;

                archive = new Archive(Vessel);
                Volumes.Add(archive);
            }
            else
            {
                RunType = kOSRunType.WINFORMS;
            }
        }