Package slotMachine

Class SlotMachine

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SlotMachine extends JPanel
This custom component manages a Slot machine game and connected to Virtual Casino File
See Also:
  • Field Details

    • saldo

      public JLabel saldo
    • userData

      public String[] userData
  • Constructor Details

    • SlotMachine

      public SlotMachine()
      This constructor creates a basic setting of this component and delegate style to method init()
  • Method Details

    • remove

      public void remove()
      This method removes components before start a new game
    • addImage

      public void addImage()
      This method adds images to the grid of Slot on gui
    • setStatus

      public void setStatus()
      This method disables or enables button if a game is started or not