Exemplo n.º 1
0
 public void Draw(SpriteBatch spriteBatch, Camera camera, SpriteFont font)
 {
     foreach (FloatingText text in Texts)
     {
         TextHelper.DrawString(spriteBatch, font, text.Message, text.Location + camera.ToVector2(), text.FinalColor, text.FinalScale, align:"center", valign: "center");
     }
 }