Свойство | Тип | Описание | |
---|---|---|---|
Cameras | List |
||
Position |
Метод | Описание | |
---|---|---|
FlxBasic ( ) : System |
Instantiate the basic flixel object.
|
|
destroy ( ) : void |
Override this function to null out variables or manually call
|
|
draw ( ) : void |
Override this function to control how the object is drawn. Overriding
|
|
drawDebug ( |
Override this function to draw custom "debug mode" graphics to the specified camera while the debugger's visual mode is toggled on.
|
|
kill ( ) : void |
Handy function for "killing" game objects. Default behavior is to flag them as nonexistent AND dead. However, if you want the "corpse" to remain in the game, like to animate an effect or whatever, you should override this, setting only alive to false, and leaving exists true.
|
|
postUpdate ( ) : void |
Post-update is called right after
|
|
preUpdate ( ) : void |
Pre-update is called right before
|
|
revive ( ) : void |
Handy function for bringing game objects "back to life". Just sets alive and exists back to true. In practice, this function is most often called by
|
|
toString ( ) : string |
Convert object to readable string name. Useful for debugging, save games, etc.
|
|
update ( ) : void |
Override this function to update your class's position and appearance. This is where most of your game rules and behavioral code will go.
|
public drawDebug ( |
||
camera | Which camera to draw the debug visuals to. | |
Результат | void |