Class HealthBenchConfig

java.lang.Object
com.csse3200.game.entities.configs.benches.BenchConfig
com.csse3200.game.entities.configs.benches.HealthBenchConfig

public class HealthBenchConfig extends BenchConfig
  • Constructor Details

    • HealthBenchConfig

      public HealthBenchConfig()
      Initialise HealthBenchConfig
  • Method Details

    • upgrade

      public void upgrade(boolean playerNear, Entity player, com.badlogic.gdx.scenes.scene2d.ui.Label buyPrompt)
      Description copied from class: BenchConfig
      Triggers the station's upgrade
      Specified by:
      upgrade in class BenchConfig
      Parameters:
      playerNear - is the player near
      player - the player Entity
      buyPrompt - the buyPrompt for the station