クラス Car
java.lang.Object
net.trpfrog.medipro_game.symbol.Symbol
net.trpfrog.medipro_game.symbol.MovableSymbol
net.trpfrog.medipro_game.mini_game.race_game.symbols.Car
- すべての実装されたインタフェース:
Drawable,Suspendable
public class Car extends MovableSymbol implements Drawable, Suspendable
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 intMAX_SPEED -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Car() -
メソッドの概要
修飾子とタイプ メソッド 説明 voidaccelerate(int a)加速しますvoiddraw(java.awt.Graphics2D g)MainViewに描画するpaintComponentの中身を定義します。voidresume()動作の再開を定義します。voidsuspend()動作の停止を定義します。クラスから継承されたメソッド 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
-
フィールド詳細
-
MAX_SPEED
public final int MAX_SPEED- 関連項目:
- 定数フィールド値
-
-
コンストラクタの詳細
-
Car
public Car()
-
-
メソッドの詳細
-
accelerate
public void accelerate(int a)加速します- パラメータ:
a- 加速度
-
draw
public void draw(java.awt.Graphics2D g)インタフェースからコピーされた説明:DrawableMainViewに描画するpaintComponentの中身を定義します。 -
suspend
public void suspend()インタフェースからコピーされた説明:Suspendable動作の停止を定義します。- 定義:
suspendインタフェース内Suspendable
-
resume
public void resume()インタフェースからコピーされた説明:Suspendable動作の再開を定義します。- 定義:
resumeインタフェース内Suspendable
-