クラス 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.ImageDEFAULT_STAR_IMAGE -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 MiniGameScene() -
メソッドの概要
修飾子とタイプ メソッド 説明 java.lang.StringgetCreatorName()作者の名前を取得します。java.lang.StringgetGameDescription()ミニゲームの説明を取得します。java.lang.StringgetGameTitle()ミニゲームのタイトルを取得します。java.lang.StringgetHowToPlay()遊び方を返します。java.awt.ImagegetStarImage()protected voidmakeDescriptionDialog()設定されたミニゲーム情報を元に説明用パネルを生成します。protected voidsetCreatorName(java.lang.String creatorName)作者の名前を設定します。protected voidsetGameDescription(java.lang.String... gameDescription)ミニゲームの説明を設定します。protected voidsetGameTitle(java.lang.String gameTitle)ミニゲームのタイトルを設定します。voidsetHowToPlay(java.lang.String... howToPlay)遊び方の説明文を設定します。protected voidsetStarImage(java.nio.file.Path imagePath)protected voidsetView(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()設定されたミニゲーム情報を元に説明用パネルを生成します。
-