public void ChangeNeeds() { if (CurrentState != State.DEAD) { if (CurrentState == State.RUNNING_AWAY) { NeedSprite.sprite = ScaredSprite; return; } CurrentNeed = Needs.Saturation(); switch (CurrentNeed) { case Needs.Need.HUNGER: NeedSprite.sprite = FoodSprite; break; case Needs.Need.THIRST: NeedSprite.sprite = ThirstSprite; break; case Needs.Need.TOILET: NeedSprite.sprite = ToiletSprite; break; case Needs.Need.LIBIDO: NeedSprite.sprite = LibidoSprite; break; default: NeedSprite.sprite = null; break; } } }