Class EatStatusHandler
java.lang.Object
games.stendhal.server.entity.status.EatStatusHandler
- All Implemented Interfaces:
StatusHandler<EatStatus>
handles eating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
inflict(EatStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
remove(EatStatus status, StatusList statusList)
removes a status
-
Constructor Details
-
EatStatusHandler
public EatStatusHandler()
-
-
Method Details
-
inflict
inflicts a status- Specified by:
inflict
in interfaceStatusHandler<EatStatus>
- Parameters:
status
- Status to inflictstatusList
- StatusListattacker
- the attacker
-
remove
removes a status- Specified by:
remove
in interfaceStatusHandler<EatStatus>
- Parameters:
status
- Status to inflictstatusList
- StatusList
-