/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (PicrossGame game = new PicrossGame()) { game.Run(); } }
public static void LoadContent(PicrossGame game) { emptySquare = game.Content.Load <Texture2D>(@"Images\SquareEmpty"); filledSquare = game.Content.Load <Texture2D>(@"Images\SquareFull"); squareX = game.Content.Load <Texture2D>(@"Images\SquareX"); winSquare = game.Content.Load <Texture2D>(@"Images\SquareWin"); winSquareEmpty = game.Content.Load <Texture2D>(@"Images\SquareWinEmpty"); font = game.Content.Load <SpriteFont>(@"Fonts\NumberFont"); }