Advertisement
Guest User

Untitled

a guest
Jun 19th, 2014
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1.         protected override void Update(GameTime gameTime)
  2.         {
  3.             // Allows the game to exit
  4.             if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
  5.                 this.Exit();
  6.  
  7.             // TODO: Add your update logic here
  8.  
  9.         // Particle emitter position
  10.             particulaEngine.PosicaoEmissor = new Vector2(Mouse.GetState().X, Mouse.GetState().Y);
  11.             particulaEngine.Update();
  12.  
  13.             angulo += 0.01f;
  14.  
  15.  
  16.  
  17.             base.Update(gameTime);
  18.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement