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)
|
|
|
|
{
|
2012-04-18 04:34:46 +00:00
|
|
|
MenuSpriteFont = contentManager.Load<SpriteFont>("menuFont");
|
|
|
|
FrameRateCounterFont = contentManager.Load<SpriteFont>("frameRateCounterFont");
|
|
|
|
DetailsFont = contentManager.Load<SpriteFont>("detailsFont");
|
2012-03-19 23:57:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|