Beispiel #1
0
 public void Draw(Transform2 parentTransform)
 {
     _background.Draw(parentTransform);
     UI.DrawTextAligned(Text, new Rectangle((parentTransform.Location + Transform.Location).ToPoint(), Transform.Size.ToPoint()), TextColor, Font, HorizontalAlignment);
 }