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