axiosengine/axios/ScreenSystem/SpriteFonts.cs

19 lines
650 B
C#
Raw 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>("Fonts/menuFont");
FrameRateCounterFont = contentManager.Load<SpriteFont>("Fonts/frameRateCounterFont");
DetailsFont = contentManager.Load<SpriteFont>("Fonts/detailsFont");
}
}
}