Package arc.scene.event
Class ChangeListener
java.lang.Object
arc.scene.event.ChangeListener
- All Implemented Interfaces:
EventListener
Listener for
ChangeListener.ChangeEvent
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired when something in an actor has changed. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
changed
(ChangeListener.ChangeEvent event, Element actor) boolean
handle
(SceneEvent event) Try to handle the given event, if it is applicable.
-
Constructor Details
-
ChangeListener
public ChangeListener()
-
-
Method Details
-
handle
Description copied from interface:EventListener
Try to handle the given event, if it is applicable.- Specified by:
handle
in interfaceEventListener
- Returns:
- true if the event should be considered
handled
by scene2d.
-
changed
- Parameters:
actor
- The event target, which is the actor that emitted the change event.
-