Method | Description | |
---|---|---|
ChangeState ( |
Removes all states currently on the stack then adds passed in state to the stack.
|
|
ChangeStateListener ( SimplePubSub notifiable, string channel, object sender, |
A listener for notifications to change states sent through haxxit.engine.state.change.
|
|
ClearAllStateListener ( SimplePubSub notifiable, string channel, object sender, |
A listener for notifications to clear the state stack sent through haxxit.engine.state.clear_all
|
|
ClearChangeStateListener ( SimplePubSub notifiable, string channel, object sender, |
A listener for notifications to clear the state stack then push a new state onto it, sent through haxxit.engine.state.clear_change.
|
|
ClearStates ( ) : void |
Clears the state stack.
|
|
HaxxitEngine ( ) : System | ||
PopState ( ) : void |
Pops a state from the stack.
|
|
PopStateListener ( SimplePubSub notifiable, string channel, object sender, |
A listener for notifications to pop states sent through haxxit.engine.state.pop.
|
|
PushState ( |
Pushes a state onto the stack.
|
|
PushStateListener ( SimplePubSub notifiable, string channel, object sender, |
A listener for notifications to push states sent through haxxit.engine.state.push.
|
Method | Description | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
Initialize ( ) : void |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
public ChangeState ( |
||
state | The state to add to the stack after all other states are dropped. | |
return | void |
public ChangeStateListener ( SimplePubSub notifiable, string channel, object sender, |
||
notifiable | SimplePubSub | |
channel | string | The channel the notification is being sent through (haxxit.engine.state.change). |
sender | object | The sender object of this notification. |
args | The arguments for this notification (only takes ChangeStateEventArgs). | |
return | void |
public ClearAllStateListener ( SimplePubSub notifiable, string channel, object sender, |
||
notifiable | SimplePubSub | |
channel | string | The channel the notification is being sent through (haxxit.engine.state.clear_all). |
sender | object | The sender object of this notification. |
args | The arguments for this notification (requires no arguments). | |
return | void |
public ClearChangeStateListener ( SimplePubSub notifiable, string channel, object sender, |
||
notifiable | SimplePubSub | |
channel | string | The channel the notification is being sent through (haxxit.engine.state.clear_change). |
sender | object | The sender object of this notification. |
args | The arguments for this notification (only takes ChangeStateEventArgs). | |
return | void |
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public PopStateListener ( SimplePubSub notifiable, string channel, object sender, |
||
notifiable | SimplePubSub | |
channel | string | The channel the notification is being sent through (haxxit.engine.state.pop). |
sender | object | The sender object of this notification. |
args | The arguments for this notification (requires no arguments). | |
return | void |
public PushState ( |
||
state | The state to push onto the top of the stack. | |
return | void |
public PushStateListener ( SimplePubSub notifiable, string channel, object sender, |
||
notifiable | SimplePubSub | |
channel | string | The channel the notification is being sent through (haxxit.engine.state.push). |
sender | object | The sender object of this notification. |
args | The arguments for this notification (only takes ChangeStateEventArgs). | |
return | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |