public void Draw() { if (bold) { // Sprite.DrawBoldText(pos.X + left, pos.Y, textData, textFont); } else { GLFont.DrawText(pos.X + left, pos.Y, textData, fontId, fontColor); } }
public void Draw() { Sprite.DrawSprite(areaRectangle, texCurrent); GLFont.DrawText(textPosition.X, textPosition.Y, text, fontId, fontColor); }