/// <summary>
        /// Render state
        /// </summary>
        /// <param name="time"><see cref="GameTime"/></param>
        public override void Render(GameTime time)
        {
            DH.RenderScene(Scene, () => {
                DH.Raw(_content.TEXUI_MenuBG, 32, 0);

                _buttons.ForEach(button => button.Display( ));
            });
        }
Exemplo n.º 2
0
        /// <summary>
        /// Render state
        /// </summary>
        /// <param name="time"><see cref="GameTime"/></param>
        public override void Render(GameTime time)
        {
            DH.RenderScene(Scene, () => {
                DH.Raw(_content.TEXUI_MenuBG, 32, 0);

                _buttons.ForEach(button => {
                    if (button.IsHover)
                    {
                        DH.Box((int)button.X, (int)button.Y, (int)button.Width, (int)button.Height, ColorsManager.DarkGray * .25f);
                    }
                    button.Display( );
                });
            });
        }