Example #1
0
 public void RotateDown(GameTime gameTime, PressedEvent evnt)
 {
     AngleV -= gameTime.ElapsedGameTime.Milliseconds * AngleSpeed;
 }
Example #2
0
 public void MoveBackward(GameTime gameTime, PressedEvent evnt)
 {
     Position -= Forward * gameTime.ElapsedGameTime.Milliseconds * MoveSpeed;
 }
Example #3
0
 public void MoveUp(GameTime gameTime, PressedEvent evnt)
 {
     Position += LookUp * gameTime.ElapsedGameTime.Milliseconds * MoveSpeed;
 }
Example #4
0
 public void MoveRight(GameTime gameTime, PressedEvent evnt)
 {
     Position += Side * gameTime.ElapsedGameTime.Milliseconds * MoveSpeed;
 }