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