クラス DialogBackgroundScene
java.lang.Object
net.trpfrog.medipro_game.scene.GameScene
net.trpfrog.medipro_game.dialog_background.DialogBackgroundScene
- すべての実装されたインタフェース:
Suspendable
- 直系の既知のサブクラス:
MedalCollectionScene
,PauseScene
,SettingScene
public class DialogBackgroundScene extends GameScene
ダイアログの背景のScene
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DialogBackgroundScene(javax.swing.JPanel dialogPanel, boolean clickToClose)
DialogBackgroundScene(javax.swing.JPanel dialogPanel, boolean clickToClose, boolean richMode)
DialogBackgroundScene(javax.swing.JPanel dialogPanel, int w, int h, boolean clickToClose)
受け取ったJPanelにダイアログ背景をつけてシーンを生成します。DialogBackgroundScene(javax.swing.JPanel dialogPanel, int w, int h, boolean clickToClose, boolean richMode)
-
メソッドの概要
クラスから継承されたメソッド net.trpfrog.medipro_game.scene.GameScene
addSubScene, contains, getController, getModel, getSubScenes, getView, resume, setController, setModel, setView, suspend
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
コンストラクタの詳細
-
DialogBackgroundScene
public DialogBackgroundScene(javax.swing.JPanel dialogPanel, int w, int h, boolean clickToClose)受け取ったJPanelにダイアログ背景をつけてシーンを生成します。 もしJPanelにSuspendableが実装されていた場合、そのsuspend/resumeもシーン切り替え時に呼び出されます。- パラメータ:
dialogPanel
- 幅w, 高さh の描画パネルw
- 描画パネルの幅h
- 描画パネルの高さclickToClose
- 背景クリックでシーンを閉じるかどうか
-
DialogBackgroundScene
public DialogBackgroundScene(javax.swing.JPanel dialogPanel, int w, int h, boolean clickToClose, boolean richMode) -
DialogBackgroundScene
public DialogBackgroundScene(javax.swing.JPanel dialogPanel, boolean clickToClose) -
DialogBackgroundScene
public DialogBackgroundScene(javax.swing.JPanel dialogPanel, boolean clickToClose, boolean richMode)
-