C# Class fliXNA_xbox.FlxState

Inheritance: FlxGroup
Show file Open project: konamicode/fliXNA_xbox Class Usage Examples

Protected Properties

Property Type Description
hud FlxGroup

Public Methods

Method Description
FlxState ( ) : System

Constructs a new state

create ( ) : void

Override create() and initialize your game objects here

draw ( ) : void

Override this only if you are familiar with SpriteBatches and Viewports. Otherwise leave it alone to avoid any issues with rendering.

Method Details

FlxState() public method

Constructs a new state
public FlxState ( ) : System
return System

create() public method

Override create() and initialize your game objects here
public create ( ) : void
return void

draw() public method

Override this only if you are familiar with SpriteBatches and Viewports. Otherwise leave it alone to avoid any issues with rendering.
public draw ( ) : void
return void

Property Details

hud protected property

Internal HUD FlxGroup. Needed because scrollFactor currently does not work so if you want things to stick to the screen add them to this.
protected FlxGroup,fliXNA_xbox hud
return FlxGroup