protected override void LoadContent() { base.LoadContent(); Atlas = new Atlas(Path + @"Content/Atlas/atlas.xml", true); //SpriteData = new SpriteData(Path + @"Content/Atlas/SpriteData.xml", Atlas); Content.RootDirectory = Path + "Content"; Font = Content.Load<SpriteFont>(@"Misc/pixel"); Stats = GameStats.Init(); }
public static GameStats Init() { GameStats instance = new GameStats(); return instance; }