Interface ITimeBasedHappinessModifier
- All Superinterfaces:
IHappinessModifier
- All Known Implementing Classes:
ExpirationBasedHappinessModifier,TimeBasedHappinessModifier
Interface describing possible happiness factors.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddayEnd(ICitizenData data) Called at the end of each day.intgetDays()Get the days this is active.default voidreset()Reset the modifier.
-
Method Details
-
dayEnd
Called at the end of each day. -
reset
default void reset()Reset the modifier. -
getDays
int getDays()Get the days this is active.- Returns:
- the days.
-