クラス Rocket
java.lang.Object
net.trpfrog.medipro_game.symbol.Symbol
net.trpfrog.medipro_game.symbol.MovableSymbol
net.trpfrog.medipro_game.space.symbols.Rocket
- すべての実装されたインタフェース:
Suspendable
public class Rocket extends MovableSymbol implements Suspendable
操作キャラクターであるロケットの情報を保持するクラス。
- 作成者:
- つまみ
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 class
Rocket.RocketAnimation
ロケットのアニメーションに関するメソッドを定義します。 -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Rocket(SpaceModel model)
-
メソッドの概要
修飾子とタイプ メソッド 説明 WarpSystem
accessToWarpSystem()
float
calcInvincibleAlpha()
Rocket.RocketAnimation
getAnimation()
int
getDepth()
ロケットが存在するマップ上の深さを返します。int
getImageHeight()
int
getImageWidth()
boolean
isInvincible()
void
resume()
動作の再開を定義します。void
setDepth(int depth)
ロケットが存在するマップ上の深さを変更します。void
suspend()
動作の停止を定義します。クラスから継承されたメソッド net.trpfrog.medipro_game.symbol.MovableSymbol
accelerate, getMaxSpeed, getMinSpeed, getSpeedPxPerSecond, getSpeedX, getSpeedY, getTimer, move, moveMilliseconds, setMaxSpeed, setMinSpeed, setSpeedPxPerSecond, start, stop
クラスから継承されたメソッド net.trpfrog.medipro_game.symbol.Symbol
calcSightLineX, calcSightLineY, createHitJudgementRectangle, createPoint, createTranslatedDrawer, equals, faceTo, faceTo, getAbsoluteHitBox, getAngleDegrees, getAngleRadians, getDrawer, getHitJudgeRectangle, getPoint, getPoint2D, getRelativeHitBox, getX, getY, hashCode, isTouched, isTouched, isTouched, setAngleDegrees, setDrawer, setLocation, setPoint, setRelativeHitBox, setRelativeHitJudgeRectangle, setX, setY, touches, translate, turnAnticlockwiseDegrees, turnClockwiseDegrees
クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
コンストラクタの詳細
-
Rocket
-
-
メソッドの詳細
-
accessToWarpSystem
-
getImageWidth
public int getImageWidth() -
getImageHeight
public int getImageHeight() -
getDepth
public int getDepth()ロケットが存在するマップ上の深さを返します。- 戻り値:
- ロケットのマップ上の深さ
-
setDepth
public void setDepth(int depth)ロケットが存在するマップ上の深さを変更します。- パラメータ:
depth
- ロケットのマップ上の深さ
-
getAnimation
-
suspend
public void suspend()インタフェースからコピーされた説明:Suspendable
動作の停止を定義します。- 定義:
suspend
インタフェース内Suspendable
-
resume
public void resume()インタフェースからコピーされた説明:Suspendable
動作の再開を定義します。- 定義:
resume
インタフェース内Suspendable
-
isInvincible
public boolean isInvincible() -
calcInvincibleAlpha
public float calcInvincibleAlpha()
-