Creates a new StageManager class.
Checks if a new stage can be created and managed by the class.
true if there is one slot free for a new stage
Returns the amount of stage objects that can be created and managed by the class
the amount of free slots
The maximum amount of Stage objects that can be managed by the class
Returns the amount of Stage objects currently managed by the class.
the amount of slots used
Add an event listener
Dispatch an event
Get the next available stage. An error is thrown if there are no StageProxies available
Whether to force software mode even if hardware acceleration is available.
The compatibility profile, an enumeration of ContextProfile
The allocated stage
Requests the Stage for the given index.
The index of the requested Stage.
Whether to force software mode even if hardware acceleration is available.
The compatibility profile, an enumeration of ContextProfile
The Stage for the given index.
check if an object has an event listener assigned to it
Removes a Stage from the manager.
Remove an event listener
Gets a StageManager instance for the given Stage object.
The StageManager instance for the given Stage object.
Generated using TypeDoc
The StageManager class provides a multiton object that handles management for Stage objects.
away.base.Stage