Example #1
0
 public override void ControlLoop()
 {
     if (jump.IsPressed())
     {
         this.Jump();
     }
     if (moveLeft.IsPressed())
     {
         this.MoveLeft();
     }
     if (moveRight.IsPressed())
     {
         this.MoveRight();
     }
     if (slide.IsPressed())
     {
         this.Slide();
     }
 }