Beispiel #1
0
        public GUIBase(Window window, Color color, Vector2 pos, float sizeX, float sizeY, int z = 1)
        {
            this.SizeX = sizeX;
            this.SizeY = sizeY;
            Color      = color;
            Position   = pos;

            Window = window;
            window.AddGUIElement(this);

            this.z    = z;
            Clickable = true;
        }