axiosengine/axios/ScreenSystem/SpriteFonts.cs

19 lines
632 B
C#
Raw Permalink Normal View History

2012-03-19 23:57:59 +00:00
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace FarseerPhysics.SamplesFramework
{
public class SpriteFonts
{
public SpriteFont DetailsFont;
public SpriteFont FrameRateCounterFont;
public SpriteFont MenuSpriteFont;
public SpriteFonts(ContentManager contentManager)
{
MenuSpriteFont = contentManager.Load<SpriteFont>("menuFont");
FrameRateCounterFont = contentManager.Load<SpriteFont>("frameRateCounterFont");
DetailsFont = contentManager.Load<SpriteFont>("detailsFont");
2012-03-19 23:57:59 +00:00
}
}
}