예제 #1
0
 /// <summary>
 /// Load all the content.
 /// </summary>
 /// <param name="gaMain">GAMain so we can load the content.</param>
 public static void Load(GAMain gaMain)
 {
     sheet = gaMain.Content.Load <Texture2D>("Sheet");
     pixel = gaMain.Content.Load <Texture2D>("pixel");
     font  = gaMain.Content.Load <SpriteFont>("font");
 }
예제 #2
0
 static void Main()
 {
     using (var game = new GAMain())
         game.Run();
 }