Package one.empty3.apps.opad
Interface PositionUpdate
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
PositionUpdateImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidacc(long timeMillis) calculerPositionAuSol(Point2D position2D) calculerPositionModule(Point2D position2D) voiddec(long timeMillis) doubleenergy()voidbooleandoublegetAngle()getMain()getPath()voidmoveDown(long timeKeyPress) voidmoveUp(long timeKeyPress) booleanvoidrotationDroite(long timeMillis) voidrotationGauche(long timeMillis) intscore()voidsetMain(DarkFortressGUI darkFortressGUI) voidvoidsetPlotter3D(Plotter3D plotter3D) voidintstate()intvoidtestCollision(PositionMobile positionMobile) voidupdate()
-
Method Details
-
update
void update() -
acc
void acc(long timeMillis) -
dec
void dec(long timeMillis) -
plot
-
state
int state() -
rotationGauche
void rotationGauche(long timeMillis) -
rotationDroite
void rotationDroite(long timeMillis) -
testCollision
-
ennemi
-
score
int score() -
estGagnant
boolean estGagnant() -
calcCposition
Point3D calcCposition() -
calcDirection
Point3D calcDirection() -
calculerPositionAuSol
-
calculerPositionModule
-
STATE_GAME_IN_PROGRESS
int STATE_GAME_IN_PROGRESS() -
getCircuit
Circuit getCircuit() -
energy
double energy() -
getTerrain
Terrain getTerrain() -
setTerrain
-
getAngle
double getAngle() -
directionY
Point2D directionY() -
moveUp
void moveUp(long timeKeyPress) -
moveDown
void moveDown(long timeKeyPress) -
getPlotter3D
Plotter3D getPlotter3D() -
setPlotter3D
-
getPositionMobile
PositionMobile getPositionMobile() -
getVecDir2D
Point3D getVecDir2D() -
getPath
Path getPath() -
setPath
-
setMain
-
getMain
DarkFortressGUI getMain()
-