|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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
内の initialize
stateManager
- The state managerpublic boolean isInitialized()
AppState
内の isInitialized
initialize()
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
内の setEnabled
enabled
- activate the AppState or not.public boolean isEnabled()
AppState
内の isEnabled
AppState
is enabled, false otherwise.AppState.setEnabled(boolean)
public void stateAttached(AppStateManager stateManager)
AppState
の記述:
AppState
内の stateAttached
stateManager
- State manager to which the state was attached to.public void stateDetached(AppStateManager stateManager)
AppState
の記述:
AppState
内の stateDetached
stateManager
- The state manager from which the state was detached from.public void update(float tpf)
AppState
の記述:
AppState
内の update
tpf
- Time per frame.public void render(RenderManager rm)
AppState
の記述:
AppState
内の render
rm
- RenderManagerpublic void postRender()
AppState
の記述:
AppState
内の postRender
public void cleanup()
AppState
の記述:
AppState
内の cleanup
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |