public void Render(GameModel Env)
 {
     Env.DrawText.changeFont(font);
     Env.DrawText.drawText(text, x, y, Color.White);
     Env.DrawText.changeFont(TGC.Core.Text.TgcText2D.VERDANA_10);
     quad.Render();
 }
 public void Render(GameModel contexto)
 {
     if (contexto.escenarioActual is EscenarioMenu)
     {
         texto.render();
     }
     quad.Render();
     AABB.Render();
 }
示例#3
0
        public override void Render()
        {
            PreRender();

            quad.Render();

            if (showNormalModifier.Value)
            {
                normalArrow.Render();
            }

            PostRender();
        }