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