public void WalkingMode() { string nombreNivel = levelRef.locationName; if (nombreNivel.Contains ("+")) { walkType = PlayerWalkType.floating; } else { walkType = PlayerWalkType.onGround; } }
public void spin(WisdominiObject waiter) { waitingRef = waiter; state2 = PlayerState.spinning; angle = 0.0f; angleSpeed = 0.0f; angleAccel = maxAngleAccel; walkType = PlayerWalkType.onGround; blockControls (); }
public void _wm_unlevitate() { walkType = PlayerWalkType.onGround; }
public void _wm_levitate() { walkType = PlayerWalkType.floating; }