C# Class flxSharp.flxSharp.FlxState

This is the basic game "state" object - e.g. in a simple game you might have a menu state and a play state. It is for all intents and purpose a fancy FlxGroup. And really, it's not even that fancy.
Inheritance: FlxGroup
Datei anzeigen Open project: jlorek/flxSharp

Public Methods

Method Description
create ( ) : void

This function is called after the game engine successfully switches states. Override this function, NOT the constructor, to initialize or set up your game state. We do NOT recommend overriding the constructor, unless you want some crazy unpredictable things to happen!

Method Details

create() public method

This function is called after the game engine successfully switches states. Override this function, NOT the constructor, to initialize or set up your game state. We do NOT recommend overriding the constructor, unless you want some crazy unpredictable things to happen!
public create ( ) : void
return void