Package com.avrix.events
Class OnWaterAmountChangeEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnWaterAmountChangeEvent
Triggered when the amount of water in an object has changed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.iso.IsoObject object, Integer waterAmount) Called Event Handling Method
-
Constructor Details
-
OnWaterAmountChangeEvent
public OnWaterAmountChangeEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
Called Event Handling Method- Parameters:
object
- The object in which the water amount is changing.waterAmount
- The amount of water that is being added or removed from the water container.
-