Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Player(Game1 game)
- : base(game)
- {
- _game = game;
- _spriteBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch));
- position = new Vector2(100, 100);
- positionr = new Rectangle(100, 100, 20, 20);
- jumping = falling = false;
- velocity = new Vector2(0, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement