public void ChangeLostState(int a) { switch (a) { case 0: currentLostState = LostBehavior.stationary; break; case 1: currentLostState = LostBehavior.seekout; break; case 2: currentLostState = LostBehavior.roam; break; default: currentLostState = LostBehavior.stationary; break; } }