Class SlotMachineArea

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, AreaAPI, EnemySpawner

public class SlotMachineArea extends LevelGameArea
Represents a dedicated game area for the slot machine level. Handles loading and unloading of slot machine-specific assets, sets up the user interface (HUD), and manages display elements relevant to the slot machine gameplay.
  • Constructor Details

    • SlotMachineArea

      public SlotMachineArea(String levelKey)
      Creates a new SlotMachineArea with the level key.
      Parameters:
      levelKey - The level key for this slot machine area.
  • Method Details

    • create

      public void create()
      Initializes the slot machine area by loading assets and adding the HUD.
      Overrides:
      create in class LevelGameArea
    • dispose

      public void dispose()
      Unloads slot machine assets and disposes of the area.
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
      Overrides:
      dispose in class GameArea