CommandManagerFPS
| Kind of class: | class |
|---|---|
| Inherits from: | CommandFPS |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.commands.CommandManagerFPS |
| File last modified: | Wednesday, 31 October 2007, 07:35:29 |
CommandManagerFPS allows to store Command objects and to execute each oneat each frame displayed by the player.
That's a singleton implementation of CommandFPS
To get detailed API, check CommandFPS documentation.
If your animation framerate is 31 fps, each added command
will have its execute method triggered 31 times per second.
In the example below, test method will be called on each frame.
Example:
import com.bourre.commands.*; function test(s:String) : Void { trace("hello world"); } CommandManagerFPS.getInstance().push( new Delegate(this, test) );
Summary
Instance properties
Instance properties inherited from CommandFPS
Class methods
Instance methods
Instance methods inherited from CommandFPS
Event handlers
Event handlers inherited from CommandFPS
Class methods
getInstance
static function getInstance (
release
static function release (
) : Void
Instance methods
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance
Overrides: