daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Game1 : Game
  2. {
  3.   [...]
  4.   private void HandleInput(GameTime gameTime)
  5.   {
  6.       if (Keyboard.GetState().IsKeyDown(Keys.Right))
  7.           _playerShip.MoveRight();
  8.          
  9.       [...]    
  10.      
  11.       if (Keyboard.GetState().IsKeyDown(Keys.Space))
  12.           ShootLaser();
  13.  
  14.       CheckPosition();
  15.   }
  16.   [...]
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top