axiosengine/axios/ScreenSystem/SpriteFonts.cs
nathan@daedalus bf3950b0c5 Initial tests are looking good, cursor seems to be the only thing that doesn't work.
Tested with Axios Tennis and the new menu looks pretty slick.

--HG--
branch : axios-newgsm
2012-04-17 23:34:46 -05:00

19 lines
632 B
C#

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");
}
}
}