|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.app.state.AbstractAppState
public class AbstractAppState
AbstractAppState implements some common methods
that make creation of AppStates easier.
| コンストラクタの概要 | |
|---|---|
AbstractAppState()
|
|
| メソッドの概要 | |
|---|---|
void |
cleanup()
Cleanup the game state. |
void |
initialize(AppStateManager stateManager,
Application app)
Called to initialize the AppState. |
boolean |
isEnabled()
|
boolean |
isInitialized()
|
void |
postRender()
Called after all rendering commands are flushed. |
void |
render(RenderManager rm)
Render the state. |
void |
setEnabled(boolean enabled)
Enable or disable the functionality of the AppState. |
void |
stateAttached(AppStateManager stateManager)
Called when the state was attached. |
void |
stateDetached(AppStateManager stateManager)
Called when the state was detached. |
void |
update(float tpf)
Called to update the state. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AbstractAppState()
| メソッドの詳細 |
|---|
public void initialize(AppStateManager stateManager,
Application app)
AppState の記述:
AppState 内の initializestateManager - The state managerpublic boolean isInitialized()
AppState 内の isInitializedinitialize() was called on the state,
false otherwise.public void setEnabled(boolean enabled)
AppState の記述:AppState.
The effect of this call depends on implementation. An
AppState starts as being enabled by default.
AppState 内の setEnabledenabled - activate the AppState or not.public boolean isEnabled()
AppState 内の isEnabledAppState is enabled, false otherwise.AppState.setEnabled(boolean)public void stateAttached(AppStateManager stateManager)
AppState の記述:
AppState 内の stateAttachedstateManager - State manager to which the state was attached to.public void stateDetached(AppStateManager stateManager)
AppState の記述:
AppState 内の stateDetachedstateManager - The state manager from which the state was detached from.public void update(float tpf)
AppState の記述:
AppState 内の updatetpf - Time per frame.public void render(RenderManager rm)
AppState の記述:
AppState 内の renderrm - RenderManagerpublic void postRender()
AppState の記述:
AppState 内の postRenderpublic void cleanup()
AppState の記述:
AppState 内の cleanup
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||