Bandidos
Public Member Functions | List of all members
com.mygdx.game.engine.tweening.TweenEvent Class Reference
Inheritance diagram for com.mygdx.game.engine.tweening.TweenEvent:
com.mygdx.game.engine.events.Event

Public Member Functions

 TweenEvent (String eventType, int tweenEventType, EngineTween engineTween)
 
int getTweenEventType ()
 
EngineTween getEngineTween ()
 
void clean ()
 
- Public Member Functions inherited from com.mygdx.game.engine.events.Event
 Event (String type)
 
String getType ()
 
EventDispatcher getDispatcher ()
 
void setDispatcher (EventDispatcher dispatcherValue)
 
void clean ()
 

Detailed Description

This event and all extending events are fired by the EngineTween to indicate different events of the tween they are linked to.

Author
Ramses Di Perna

Constructor & Destructor Documentation

◆ TweenEvent()

com.mygdx.game.engine.tweening.TweenEvent.TweenEvent ( String  eventType,
int  tweenEventType,
EngineTween  engineTween 
)

This

Parameters
eventTypewhich listeners should listen to.
tweenEventTypeis an integer which is part of the listed TweenCallback
engineTweenwhich is part of this context

Member Function Documentation

◆ clean()

void com.mygdx.game.engine.tweening.TweenEvent.clean ( )

Cleans the class and makes it ready for garbage collection.

◆ getEngineTween()

EngineTween com.mygdx.game.engine.tweening.TweenEvent.getEngineTween ( )

Gives the EngineTween which is linked to this event.

Returns
The EngineTween which is linked to this event.

◆ getTweenEventType()

int com.mygdx.game.engine.tweening.TweenEvent.getTweenEventType ( )

This is one of the TweenCallback types which is part of the event to indicate what triggered it.

Returns
An integer which is part of the listed TweenCallback

The documentation for this class was generated from the following file: