public bool CanRemoveMotivation(BarkingMotivation motivation) { switch (motivation){ case BarkingMotivation.People: case BarkingMotivation.OtherDogs: return true; case BarkingMotivation.Ghost: return false; } return false; }
public bool CanRemoveMotivation(BarkingMotivation motivation) { switch (motivation) { case BarkingMotivation.People: case BarkingMotivation.OtherDogs: return(true); case BarkingMotivation.Ghost: return(false); } return(false); }
public DogBarking(BarkingMotivation? motivation) { Motivation = motivation; }