Package one.empty3.apps.opad
Class GameLogic
java.lang.Object
one.empty3.apps.opad.GameLogic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
positionOrigine
-
position
-
positionIncrement
protected double positionIncrement -
directionNorme
protected double directionNorme -
directionOrigine
-
direction
-
angle
protected double angle -
STATE_GAME_IN_PROGRESS
protected static final int STATE_GAME_IN_PROGRESS- See Also:
-
-
Constructor Details
-
GameLogic
public GameLogic()
-
-
Method Details
-
update
public void update() -
acc
public void acc() -
dec
public void dec() -
state
public int state() -
getObjects
-
position
-
direction
-
rotationGauche
public void rotationGauche() -
rotationDroite
public void rotationDroite() -
testCollision
public void testCollision() -
ennemi
-
score
public int score() -
estGagnant
public boolean estGagnant()
-