|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objecttsukuba_bunko.peko.scenario.ScenarioProcessor
public class ScenarioProcessor
シナリオの処理を行うプロセッサモジュールです。
フィールドの概要 | |
---|---|
protected SceneProcessor |
_currentSceneProcessor
現在シーンを処理中の SceneProcessor |
protected int |
_maxQueueSize
キューの最大値 |
protected int |
_processorCount
生成した SceneProcessor 数 |
protected java.util.ArrayList |
_queue
キュー |
protected SelectCoordinator |
_selectCoordinator
SelectCanvas コーディネータ |
protected Session |
_session
現在のコンテクスト |
protected StageCoordinator |
_stageCoordinator
StageCanvas コーディネータ |
protected TextCoordinator |
_textCooridnator
TextCanvas コーディネータ |
コンストラクタの概要 | |
---|---|
ScenarioProcessor()
ScenarioProcessor のインスタンスを生成します。 |
メソッドの概要 | |
---|---|
void |
exit()
シナリオの再生を終了します。 |
protected SceneProcessor |
getSceneProcessor()
シーンを処理するシーンプロセッサを取得します。 |
void |
playScenario(java.lang.String sceneName,
Session session)
指定された第1シーン、セッションでシナリオの再生を開始します。 |
protected void |
pushSceneProcessor(SceneProcessor processor)
処理が終了した SceneProcessor をキューに戻します。 |
protected void |
sceneEnded(SceneProcessor processor)
シーンの終了を通知します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.ArrayList _queue
protected int _maxQueueSize
protected int _processorCount
protected SceneProcessor _currentSceneProcessor
protected Session _session
protected TextCoordinator _textCooridnator
protected StageCoordinator _stageCoordinator
protected SelectCoordinator _selectCoordinator
コンストラクタの詳細 |
---|
public ScenarioProcessor()
ScenarioProcessor
のインスタンスを生成します。
メソッドの詳細 |
---|
public void playScenario(java.lang.String sceneName, Session session)
sceneName
- 第1シーン名session
- セッションpublic void exit()
protected SceneProcessor getSceneProcessor()
protected void pushSceneProcessor(SceneProcessor processor)
processor
- キューに戻すシーンプロセッサprotected void sceneEnded(SceneProcessor processor)
processor
- 終了の通知を発行したシーンプロセッサ
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |