Пример #1
0
        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            render.RenderBegin(Matrix.Identity);

            foreach (Button b in buttons)
            {
                render.RenderText(b.text, b.position, Vector2.One, Color.DarkRed, arenScript);
            }

            render.RenderTexture(mouseT, Color.White, new Rectangle(mstate.X, mstate.Y, 10, 10));

            render.RenderEnd();
        }