APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.scenes.scene2d.actions

public Class CountdownEventAction<T extends Event>

extends EventAction<T extends Event>
Class Inheritance
Imports
com.badlogic.gdx.scenes.scene2d.Event

An EventAction that is complete once it receives X number of events.
Authors
JavadocMD, Nathan Sweet

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
Inherited from com.badlogic.gdx.scenes.scene2d.actions.EventAction:
activeeventClassresult

Constructor Summary

AccessConstructor and Description
public
CountdownEventAction(Class<? extends T> eventClass, int count)

Method Summary

Modifier and TypeMethod and Description
public boolean
handle(T event)

Implements abstract com.badlogic.gdx.scenes.scene2d.actions.EventAction.handle.

Called when the specific type of event occurs on the actor.

Inherited from com.badlogic.gdx.scenes.scene2d.actions.EventAction:
actisActiverestartsetActivesetTarget

Field Detail

countback to summary
pack-priv int count
currentback to summary
pack-priv int current

Constructor Detail

CountdownEventActionback to summary
public CountdownEventAction(Class<? extends T> eventClass, int count)

Method Detail

handleback to summary
public boolean handle(T event)

Implements abstract com.badlogic.gdx.scenes.scene2d.actions.EventAction.handle.

Doc from com.badlogic.gdx.scenes.scene2d.actions.EventAction.handle.

Called when the specific type of event occurs on the actor.