Exemple #1
0
        private void constructor()
        {
            Logics          = new Logics.FrameLogics();
            Graphics        = new Graphics.FrameGraphics();
            Graphics.parent = this;
            Logics.parent   = this;

            GlobalEvents.onComponentMoved           += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentMoved);
            GlobalEvents.onComponentPlacedByPlayer  += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentPlacedByPlayer);
            GlobalEvents.onComponentRemovedByPlayer += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentRemovedByPlayer);

            //Graphics.Size = new Vector2(32, 32);
            //ToolTip = new GUI.LEDToolTip();
        }
Exemple #2
0
        private void constructor()
        {
            Logics = new Logics.FrameLogics();
            Graphics = new Graphics.FrameGraphics();
            Graphics.parent = this;
            Logics.parent = this;

            GlobalEvents.onComponentMoved += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentMoved);
            GlobalEvents.onComponentPlacedByPlayer += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentPlacedByPlayer);
            GlobalEvents.onComponentRemovedByPlayer += new GlobalEvents.ComponentEventHandler(GlobalEvents_onComponentRemovedByPlayer);

            //Graphics.Size = new Vector2(32, 32);
            //ToolTip = new GUI.LEDToolTip();
        }