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