Artenus 2D Framework
Artenus Reference
Events that can happen during the stage's lifecycle. The stage notifies its manager whenever any of these events occur.

See Also:

public final enum StageEvents
extends Enum<StageEvents>

Enum Constant Summary

Enum Constant and Description
DISPLAY
Stage event meaning that the stage has just allocated resources to display content.
PAUSE
Stage event meaning that the stage has gone into a paused state.
RESUME
Stage event meaning that the stage has resumed from a paused state.

Method Summary

Modifier and TypeMethod and Description
public intgetValue()
Gets the current value of this enumeration.
public static StageEventsvalueOf(String name)
public static StageEventsvalues()

Methods inherited from java.lang.Enum

clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

Methods inherited from java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Enum Constant Detail

DISPLAY
public static final DISPLAY
Stage event meaning that the stage has just allocated resources to display content. This event is triggered when the OpenGL view's onSurfaceCreated method is invoked.
PAUSE
public static final PAUSE
Stage event meaning that the stage has gone into a paused state. This event is triggered when the Artenus activity goes in the background.
RESUME
public static final RESUME
Stage event meaning that the stage has resumed from a paused state. This event is triggered when the Artenus activity resumes from a background state.

Method Detail

getValue
public int getValue()
Gets the current value of this enumeration.
Returns:
Current value
valueOf
public static StageEvents valueOf(
    String name
)
values
public static StageEvents values()