public void CreatePanels()
        {
            Frame               = new GameFrame();
            Frame.Bounds.X      = 10;
            Frame.Bounds.Y      = 20;
            Frame.Bounds.Width  = 800;
            Frame.Bounds.Height = 600;
            Frame.ZOrder        = -1;
            AddSubview(Frame);

            Sidebar = new GameSidebar(this);
            AddSubview(Sidebar);

            Chat = new ChatPanel();
            Chat.Bounds.Height = 180;
            // Chat.Margin.Right = 10;
            AddSubview(Chat);

            // Register listeners
            // ActiveViewportChanged += Chat.OnNewState;
        }
        public void CreatePanels()
        {
            Frame = new GameFrame();
            Frame.Bounds.X = 10;
            Frame.Bounds.Y = 20;
            Frame.Bounds.Width = 800;
            Frame.Bounds.Height = 600;
            Frame.ZOrder = -1;
            AddSubview(Frame);

            Sidebar = new GameSidebar(this);
            AddSubview(Sidebar);

            Chat = new ChatPanel();
            Chat.Bounds.Height = 180;
            // Chat.Margin.Right = 10;
            AddSubview(Chat);

            // Register listeners
            // ActiveViewportChanged += Chat.OnNewState;
        }