Example #1
0
 //maxens dubois
 //get the 2d vector
 void UpdateStickDirection()
 {
     if (XboxController.IsConnected)
     {
         stickDirection = XboxController.GetDirection(Inputs.move.xbox);
     }
     else
     {
         stickDirection = Inputs.move.keyboard(this.Team).GetDirection();
     }
 }