메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | 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). | |
리턴 | 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). | |
리턴 | 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). | |
리턴 | void |
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
리턴 | 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). | |
리턴 | void |
public PushState ( |
||
state | The state to push onto the top of the stack. | |
리턴 | 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). | |
리턴 | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
리턴 | void |