クラス ZodiacSign
java.lang.Object
net.trpfrog.medipro_game.symbol.Symbol
net.trpfrog.medipro_game.space.field_mini_game.zodiac.ZodiacSign
public class ZodiacSign extends Symbol
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected floatlineAlphaprotected java.awt.ColorlineColorintstarsprotected java.util.List<ZodiacLineSymbol>zodiacSignLinesprotected java.util.List<ZodiacSignStar>zodiacSignStars -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ZodiacSign(int width, int height, int stars)ZodiacSign(java.awt.Rectangle range, int stars) -
メソッドの概要
修飾子とタイプ メソッド 説明 static voidbuildAndRegister(java.awt.Rectangle range, int stars, FieldMap map)設定した範囲に星座を生成します。voidregisterOnFieldMap(FieldMap map)voidsetLocation(double x, double y)オブジェクトの座標を設定します。クラスから継承されたメソッド 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, setPoint, setRelativeHitBox, setRelativeHitJudgeRectangle, setX, setY, touches, translate, turnAnticlockwiseDegrees, turnClockwiseDegreesクラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
フィールド詳細
-
zodiacSignStars
-
zodiacSignLines
-
lineAlpha
protected float lineAlpha -
lineColor
protected java.awt.Color lineColor -
stars
public final int stars
-
-
コンストラクタの詳細
-
ZodiacSign
public ZodiacSign(int width, int height, int stars) -
ZodiacSign
public ZodiacSign(java.awt.Rectangle range, int stars)
-
-
メソッドの詳細
-
registerOnFieldMap
-
setLocation
public void setLocation(double x, double y)クラスからコピーされた説明:Symbolオブジェクトの座標を設定します。- オーバーライド:
setLocationクラス内Symbol- パラメータ:
x- x座標y- y座標
-
buildAndRegister
設定した範囲に星座を生成します。 この処理は非常に重いのでスレッドを生成してそちらで処理を行います。- パラメータ:
range- 星座の範囲stars- 星の数map- 登録するFieldMap
-