Class GameLogic

java.lang.Object
one.empty3.apps.opad.GameLogic

public class GameLogic extends Object
  • Field Details

    • positionOrigine

      protected Point3D positionOrigine
    • position

      protected Point3D position
    • positionIncrement

      protected double positionIncrement
    • directionNorme

      protected double directionNorme
    • directionOrigine

      protected Point3D directionOrigine
    • direction

      protected Point3D 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

      public GameObject[] getObjects()
    • position

      public Point3D position()
    • direction

      public Point3D direction()
    • rotationGauche

      public void rotationGauche()
    • rotationDroite

      public void rotationDroite()
    • testCollision

      public void testCollision()
    • ennemi

      public void ennemi(Bonus e)
    • score

      public int score()
    • estGagnant

      public boolean estGagnant()