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