Package | org.flixel.data |
Class | public class FlxKong |
Inheritance | FlxKong flash.display.Sprite |
Property | Defined By | ||
---|---|---|---|
API : *
Stores the Kongregate API object. | FlxKong |
Method | Defined By | ||
---|---|---|---|
FlxKong()
Constructor. | FlxKong | ||
init():void
Actually initializes the FlxKong object. | FlxKong |
Method | Defined By | ||
---|---|---|---|
APILoaded(event:Event):void
Fired when the Kongregate API finishes loading into the API object. | FlxKong |
API | property |
public var API:*
Stores the Kongregate API object.
The default value is null
.
FlxKong | () | Constructor |
public function FlxKong()
Constructor.
APILoaded | () | method |
protected function APILoaded(event:Event):void
Fired when the Kongregate API finishes loading into the API object.
Parameters
event:Event |
init | () | method |
public function init():void
Actually initializes the FlxKong object. Highly recommend calling this
inside your first game state's update()
function to ensure
that all the necessary Flash stage stuff is loaded.