Class BirdieDashGame

java.lang.Object
com.csse3200.game.minigames.birdiedash.BirdieDashGame

public class BirdieDashGame extends Object
Class for the birdie dash game mechanics
  • Constructor Details

    • BirdieDashGame

      public BirdieDashGame()
  • Method Details

    • update

      public void update(float dt)
      Public method to update the game objects (i.e. physics)
      Parameters:
      dt - change in time
    • render

      public void render()
      Public method to render the game objects
    • flapBird

      public void flapBird()
      Public method to trigger the bird's flap action
    • getScore

      public int getScore()
      Gets the game score
      Returns:
      the game score
    • getIsGameOver

      public Boolean getIsGameOver()
      Determines if the game is over
      Returns:
      true if game is over, false otherwise