public EngineText2D(KoCFont font, string text, Vector2 origin) { this.origin = origin; this.font = font; this.text = text; matrixArray = font.CalculateMatrices(text, origin.X, origin.Y); }
public void ChangeText(string text) { this.text = text; matrixArray = font.CalculateMatrices(text, origin.X, origin.Y); }