コード例 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (SimplePlatformer game = new SimplePlatformer())
     {
         game.Run();
     }
 }
コード例 #2
0
 public Player(SimplePlatformer game, Texture2D texture, Vector2 position, SpriteBatch spriteBatch)
     : base(texture, position, spriteBatch)
 {
     this.simplePlatformer = game;
 }