Inheritance: Volume
Exemple #1
0
Fichier : CPU.cs Projet : 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);

            }
        }
Exemple #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 });
        }
Exemple #3
0
        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;
            }
        }