Exemplo n.º 1
0
Arquivo: Options.cs Projeto: tubitos/1
        protected override void Draw(Microsoft.Xna.Framework.GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            render.RenderBegin(Matrix.Identity);

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

            render.RenderEnd();
        }
Exemplo n.º 2
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();
        }