Inheritance: Volume
Exemplo n.º 1
0
Arquivo: CPU.cs Projeto: 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);

            }
        }
Exemplo n.º 2
0
Arquivo: CPU.cs Projeto: kendrome/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);
            }

            this.RegisterkOSExternalFunction(new object[] { "test2", this, "testFunction", 1 });
        }
Exemplo n.º 3
0
Arquivo: CPU.cs Projeto: 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;
            }
        }