クラス MiniGameScene
java.lang.Object
net.trpfrog.medipro_game.scene.GameScene
net.trpfrog.medipro_game.mini_game.MiniGameScene
- すべての実装されたインタフェース:
Suspendable
- 直系の既知のサブクラス:
GalaxyExpressScene
,MoonsWorkScene
,RaceGameScene
,ShootingStarScene
public class MiniGameScene extends GameScene
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static java.awt.Image
DEFAULT_STAR_IMAGE
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 MiniGameScene()
-
メソッドの概要
修飾子とタイプ メソッド 説明 java.lang.String
getCreatorName()
作者の名前を取得します。java.lang.String
getGameDescription()
ミニゲームの説明を取得します。java.lang.String
getGameTitle()
ミニゲームのタイトルを取得します。java.lang.String
getHowToPlay()
遊び方を返します。java.awt.Image
getStarImage()
protected void
makeDescriptionDialog()
設定されたミニゲーム情報を元に説明用パネルを生成します。protected void
setCreatorName(java.lang.String creatorName)
作者の名前を設定します。protected void
setGameDescription(java.lang.String... gameDescription)
ミニゲームの説明を設定します。protected void
setGameTitle(java.lang.String gameTitle)
ミニゲームのタイトルを設定します。void
setHowToPlay(java.lang.String... howToPlay)
遊び方の説明文を設定します。protected void
setStarImage(java.nio.file.Path imagePath)
protected void
setView(GameView view)
このゲームシーンのViewを設定します。クラスから継承されたメソッド net.trpfrog.medipro_game.scene.GameScene
addSubScene, contains, getController, getModel, getSubScenes, getView, resume, setController, setModel, suspend
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
フィールド詳細
-
DEFAULT_STAR_IMAGE
public static final java.awt.Image DEFAULT_STAR_IMAGE
-
-
コンストラクタの詳細
-
MiniGameScene
public MiniGameScene()
-
-
メソッドの詳細
-
setView
クラスからコピーされた説明:GameScene
このゲームシーンのViewを設定します。 -
getGameTitle
public java.lang.String getGameTitle()ミニゲームのタイトルを取得します。- 戻り値:
- ミニゲームのタイトル
-
setGameTitle
protected void setGameTitle(java.lang.String gameTitle)ミニゲームのタイトルを設定します。- パラメータ:
gameTitle
- ミニゲームのタイトル
-
getGameDescription
public java.lang.String getGameDescription()ミニゲームの説明を取得します。- 戻り値:
- ミニゲームの説明
-
setGameDescription
protected void setGameDescription(java.lang.String... gameDescription)ミニゲームの説明を設定します。 可長変引数になっていて、引数ごとに改行されます。- パラメータ:
gameDescription
- ミニゲームの説明
-
getCreatorName
public java.lang.String getCreatorName()作者の名前を取得します。- 戻り値:
- 作者の名前
-
setCreatorName
protected void setCreatorName(java.lang.String creatorName)作者の名前を設定します。- パラメータ:
creatorName
- 作者の名前
-
getHowToPlay
public java.lang.String getHowToPlay()遊び方を返します。- 戻り値:
- 遊び方
-
setHowToPlay
public void setHowToPlay(java.lang.String... howToPlay)遊び方の説明文を設定します。 可長変引数になっていて、引数ごとに改行されます。- パラメータ:
howToPlay
- 遊び方の説明文
-
getStarImage
public java.awt.Image getStarImage() -
setStarImage
protected void setStarImage(java.nio.file.Path imagePath) -
makeDescriptionDialog
protected void makeDescriptionDialog()設定されたミニゲーム情報を元に説明用パネルを生成します。
-