Advertisement
wandrake

Untitled

Aug 30th, 2012
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1.         public Player(Game1 game)
  2.             : base(game)
  3.         {
  4.             _game = game;
  5.             _spriteBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch));
  6.             position = new Vector2(100, 100);
  7.             positionr = new Rectangle(100, 100, 20, 20);
  8.             jumping = falling = false;
  9.             velocity = new Vector2(0, 0);
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement