Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes
A
B
C
D
G
H
I
J
K
L
M
N
P
R
S
T
U
W
A
add(User)
- Method in interface lthc.casino.
BlackJackGame
Adds the user to the Black Jack game
add(User)
- Method in class lthc.casino.
BlackJackGameImpl
Adds the user to the Black Jack game
add(User, int)
- Method in class lthc.casino.
BlackJackManager
This method adds a user to a blackjack table
addCard(Card)
- Method in class lthc.casino.
Player
Adds the card to the players card list
addObserver(Updater, int)
- Method in interface lthc.casino.
BlackJackGame
This method adds an observer to the current blackjack game
addObserver(Updater, int)
- Method in class lthc.casino.
BlackJackGameImpl
This method adds an observer to the current blackjack game
B
BackgroundPanel
- class lthc.casino.
BackgroundPanel
.
Creates a BackgroundPanel to be added to a JFrame.
BackgroundPanel(String)
- Constructor for class lthc.casino.
BackgroundPanel
A constructor to build and initialise your panel.
BlackJackGame
- interface lthc.casino.
BlackJackGame
.
BlackJackGame Interface
BlackJackGameImpl
- class lthc.casino.
BlackJackGameImpl
.
This class is the Black Jack game
BlackJackGameImpl(Casino)
- Constructor for class lthc.casino.
BlackJackGameImpl
Creates instance of Black Jack game
BlackJackGameListPanel
- class lthc.casino.
BlackJackGameListPanel
.
Creates a new JPanel to display available games
BlackJackGameListPanel(MainWindow, ArrayList)
- Constructor for class lthc.casino.
BlackJackGameListPanel
Creates a new Panel
BlackJackManager
- class lthc.casino.
BlackJackManager
.
This class manages the blackjack game
BlackJackManager(Casino)
- Constructor for class lthc.casino.
BlackJackManager
This method is the main constructor
BlackJackPanel
- class lthc.casino.
BlackJackPanel
.
This class is the panel the blackjack game is on
BlackJackPanel(String)
- Constructor for class lthc.casino.
BlackJackPanel
This is the main constructor for the class
BlackJackWindow
- class lthc.casino.
BlackJackWindow
.
This is the clientside Black Jack game
BlackJackWindow()
- Constructor for class lthc.casino.
BlackJackWindow
Default constructor
BlackJackWindow(User, int, BlackJackGame, Casino, String, SoundManager)
- Constructor for class lthc.casino.
BlackJackWindow
BlackJackWindow constructor
C
Card
- class lthc.casino.
Card
.
This class creates a Card
Card(char, int)
- Constructor for class lthc.casino.
Card
Card constructor
Card()
- Constructor for class lthc.casino.
Card
Casino
- interface lthc.casino.
Casino
.
Casino Interface
CasinoClient
- class lthc.casino.
CasinoClient
.
This class runs the client
CasinoClient()
- Constructor for class lthc.casino.
CasinoClient
Constructor for creating a client
CasinoImpl
- class lthc.casino.
CasinoImpl
.
This is the main casino class that calls the games
CasinoImpl()
- Constructor for class lthc.casino.
CasinoImpl
Instance of CasinoImpl
CasinoServer
- class lthc.casino.
CasinoServer
.
This class is the Server side program
CasinoServer()
- Constructor for class lthc.casino.
CasinoServer
Constructor makes a Casino and opens up for connections
ChatPanel
- class lthc.casino.
ChatPanel
.
This class is a panel where users can chat with each other
ChatPanel(int, int)
- Constructor for class lthc.casino.
ChatPanel
This is the main constructor for chatpanel
calculatePayout()
- Method in interface lthc.casino.
SlotsGame
This method calculates the payout
calculatePayout()
- Method in class lthc.casino.
SlotsGameImpl
This method caculates the payout
container
- Variable in class lthc.casino.
MainWindow
createButtons()
- Method in class lthc.casino.
BlackJackWindow
Creates the buttons for the GUI
createChat()
- Method in class lthc.casino.
BlackJackWindow
Creates the chat panel and adds all the apropriate things to it
createGUI()
- Method in class lthc.casino.
BlackJackWindow
Creates the GUI for the user
createGUI()
- Method in class lthc.casino.
LeaderBoard
Creates the gui for the leaderboard
createLabels()
- Method in class lthc.casino.
BlackJackWindow
Creates the lables
D
DataBaseManager
- class lthc.casino.
DataBaseManager
.
This class manages database queries
DataBaseManager(Casino)
- Constructor for class lthc.casino.
DataBaseManager
Creates a new DataBaseManager to handle queries
Deck
- class lthc.casino.
Deck
.
This class creates a deck of cards
Deck()
- Constructor for class lthc.casino.
Deck
Deck Constructor
deal()
- Method in class lthc.casino.
BlackJackGameImpl
Deals a hand
dealMoreCards()
- Method in interface lthc.casino.
Poker
This method deals five more cards
dealMoreCards()
- Method in class lthc.casino.
PokerImpl
This method deals five more cards
dealNewGame(int)
- Method in interface lthc.casino.
Poker
This method deals a new game
dealNewGame(int)
- Method in class lthc.casino.
PokerImpl
This method deals a new game
dealerScore()
- Method in interface lthc.casino.
BlackJackGame
Tells the dealer score
dealerScore()
- Method in class lthc.casino.
BlackJackGameImpl
Tells the dealer score
determineHand(User)
- Method in interface lthc.casino.
Poker
This method determines the hand a certain user has
determineHand(User)
- Method in class lthc.casino.
PokerImpl
This method determines the hand a certain user has
displayPayout()
- Method in class lthc.casino.
KenoWindow
This method displays the payouts based on the number selected and the bet amount
doubleDown(int)
- Method in interface lthc.casino.
BlackJackGame
This method lets the player double down
doubleDown(int)
- Method in class lthc.casino.
BlackJackGameImpl
This method lets the player double down
G
gameOver()
- Method in interface lthc.casino.
BlackJackGame
This method tells you whether a game is in progress
gameOver()
- Method in class lthc.casino.
BlackJackGameImpl
This method tells you whether a game is in progress
getBet()
- Method in class lthc.casino.
Player
Gets the bet
getBlackJackGame(int)
- Method in interface lthc.casino.
Casino
Gets the blackjack game
getBlackJackGame(int)
- Method in class lthc.casino.
CasinoImpl
Gets the contents of a black jack table at a black jack game
getBlackJackList()
- Method in interface lthc.casino.
Casino
Gets the BlackJack game
getBlackJackList()
- Method in class lthc.casino.
CasinoImpl
Gets the blackjack game
getCardImages()
- Method in interface lthc.casino.
Poker
This method get's the images of all the cards
getCardImages()
- Method in class lthc.casino.
PokerImpl
This method get's the images of all the cards
getCards()
- Method in class lthc.casino.
Player
Gets the ArrayList of cards
getCasino()
- Method in class lthc.casino.
MainWindow
This returns the casino
getConfirm()
- Method in class lthc.casino.
RegisterWindow
Gets the confirmation of password
getCurrTurn()
- Method in interface lthc.casino.
BlackJackGame
This method tells which player's turn it is
getCurrTurn()
- Method in class lthc.casino.
BlackJackGameImpl
This method tells which player's turn it is
getDataBaseManager()
- Method in interface lthc.casino.
Casino
Gets the database manager
getDataBaseManager()
- Method in class lthc.casino.
CasinoImpl
Gets the database manager
getDealerCardImages()
- Method in interface lthc.casino.
BlackJackGame
This method returns the dealer card's images
getDealerCardImages()
- Method in class lthc.casino.
BlackJackGameImpl
This method returns the dealer card's images
getDealerCardImagesHidden()
- Method in interface lthc.casino.
BlackJackGame
Get's the hidden dealer cards
getDealerCardImagesHidden()
- Method in class lthc.casino.
BlackJackGameImpl
Get's the hidden dealer cards
getDealerCards()
- Method in interface lthc.casino.
BlackJackGame
Returns the ArrayList of cards the dealer has
getDealerCards()
- Method in class lthc.casino.
BlackJackGameImpl
Returns the ArrayList of cards the dealer has
getDeckBack()
- Method in class lthc.casino.
Card
Returns the backside of a card
getFace(Card)
- Method in interface lthc.casino.
BlackJackGame
Returns the Image of a given card
getFace(Card)
- Method in class lthc.casino.
BlackJackGameImpl
Returns the Image of a given card
getFace()
- Method in class lthc.casino.
Card
Returns the image of the card
getFace()
- Method in class lthc.casino.
PokerCard
This method returns a string representing the face of the card
getGame(int)
- Method in class lthc.casino.
BlackJackManager
This method returns the indicated game
getGameList()
- Method in class lthc.casino.
BlackJackManager
This method returns the number of people at the differnt tables
getHowManySelected()
- Method in interface lthc.casino.
Keno
This method tells how many numbers have been selected
getHowManySelected()
- Method in class lthc.casino.
KenoObject
This method tells how many numbers have been selected
getIsSelected(int)
- Method in interface lthc.casino.
Keno
This method tells if a is selected or not.
getIsSelected(int)
- Method in class lthc.casino.
KenoObject
This method tells if a is selected or not.
getKeno()
- Method in interface lthc.casino.
Casino
Gets the keno game
getKeno()
- Method in class lthc.casino.
CasinoImpl
Gets the keno game
getLeaders()
- Method in class lthc.casino.
LeaderBoard
Gets the top twenty and prints to screen
getMoney(User)
- Method in interface lthc.casino.
Casino
Gets the money of given user
getMoney(User)
- Method in class lthc.casino.
CasinoImpl
Gets the money of given user
getMoney(String)
- Method in class lthc.casino.
DataBaseManager
Queries database for username provided to supply the corresponding bank account
getMoney()
- Method in interface lthc.casino.
User
Gets the money of the user
getMoney()
- Method in class lthc.casino.
UserImpl
Gets the money of the user
getName()
- Method in class lthc.casino.
BlackJackWindow
Returns the user's name
getName(User)
- Method in class lthc.casino.
BlackJackWindow
This method returns the name of the user
getName()
- Method in interface lthc.casino.
User
Gets the name of user
getName()
- Method in class lthc.casino.
UserImpl
Gets the name of user
getNumberOfBets()
- Method in class lthc.casino.
BlackJackGameImpl
This method gets the total bet from a player
getNumberOfPlayers()
- Method in interface lthc.casino.
BlackJackGame
This method get's the total number of players at the table
getNumberOfPlayers()
- Method in class lthc.casino.
BlackJackGameImpl
This method get's the total number of players at the table
getObserverCount()
- Method in interface lthc.casino.
BlackJackGame
Returns the current number of players, playing or waiting
getObserverCount()
- Method in class lthc.casino.
BlackJackGameImpl
Returns the current number of players, playing or waiting
getPassword()
- Method in class lthc.casino.
LoginWindow
Returns the username as provided in the JTextField
getPassword()
- Method in class lthc.casino.
RegisterWindow
Gets the password
getPassword()
- Method in interface lthc.casino.
User
Gets the password of the user
getPassword()
- Method in class lthc.casino.
UserImpl
Gets the password of the user
getPlayerCardImages()
- Method in interface lthc.casino.
BlackJackGame
This method returns the player card's images
getPlayerCardImages()
- Method in class lthc.casino.
BlackJackGameImpl
This method returns the player card's images
getPlayersCards(int)
- Method in interface lthc.casino.
BlackJackGame
Returns the array of players cards at i
getPlayersCards(int)
- Method in class lthc.casino.
BlackJackGameImpl
Returns the array of players cards at i
getPoker()
- Method in interface lthc.casino.
Casino
Gets the poker game
getPoker()
- Method in class lthc.casino.
CasinoImpl
Gets the poker game
getRank(User)
- Method in interface lthc.casino.
Casino
Gets the rank of the user
getRank(User)
- Method in class lthc.casino.
CasinoImpl
Gets the rank of the user
getRank(String)
- Method in class lthc.casino.
DataBaseManager
Queries database for username provided ot supply the corresponding Rank
getRank()
- Method in interface lthc.casino.
User
Gets the rank of the user
getRank()
- Method in class lthc.casino.
UserImpl
Gets the rank of the user
getRankNumber()
- Method in interface lthc.casino.
User
Gets the integer value of the players rank
getRankNumber()
- Method in class lthc.casino.
UserImpl
Gets the integer value of the players rank
getSeat(User)
- Method in interface lthc.casino.
BlackJackGame
Returns the index of the seat that the user takes
getSeat(User)
- Method in class lthc.casino.
BlackJackGameImpl
Returns the index of the seat that the user takes
getSlotInt(int)
- Method in interface lthc.casino.
SlotsGame
Get's the number corresponding to the image at slotInt[i]
getSlotInt(int)
- Method in class lthc.casino.
SlotsGameImpl
Get's the number corresponding to the image at slotInt[i]
getSlotsGame()
- Method in interface lthc.casino.
Casino
Gets the slots game
getSlotsGame()
- Method in class lthc.casino.
CasinoImpl
Gets the slots game
getSound(String)
- Method in class lthc.casino.
SoundManager
This class gets the sound corresponding to the filename in the string
getSuit()
- Method in class lthc.casino.
Card
Returns the character to specify suit
getSuit()
- Method in class lthc.casino.
PokerCard
This method gets the suit of the card
getTopCard()
- Method in class lthc.casino.
Deck
Gets the top card on the deck
getTopCard()
- Method in class lthc.casino.
PokerDeck
This method returns the top card on the poker deck
getTopTwenty()
- Method in interface lthc.casino.
Casino
Gets the top twenty players on the database
getTopTwenty()
- Method in class lthc.casino.
CasinoImpl
Gets the top twenty players on the database
getTopTwenty()
- Method in class lthc.casino.
DataBaseManager
This method retrieves the top twenty players in the database ordered by money
getTotalWinnings()
- Method in interface lthc.casino.
SlotsGame
returns your total winnings from the last slot spin
getTotalWinnings()
- Method in class lthc.casino.
SlotsGameImpl
returns your total winnings from the last slot spin
getUser()
- Method in class lthc.casino.
BackgroundPanel
getUser()
- Method in interface lthc.casino.
Casino
Returns an Instance of User specific to Login
getUser()
- Method in class lthc.casino.
CasinoImpl
Returns an Instance of User specific to Login
getUserNames()
- Method in interface lthc.casino.
BlackJackGame
This string returns the user names
getUserNames()
- Method in class lthc.casino.
BlackJackGameImpl
This string returns the user names
getUsername()
- Method in class lthc.casino.
LoginWindow
Returns the username as provided in the JTextField
getUsername()
- Method in class lthc.casino.
RegisterWindow
Gets the user's name
getValue(Card)
- Method in interface lthc.casino.
BlackJackGame
Returns the value of a given card
getValue(Card)
- Method in class lthc.casino.
BlackJackGameImpl
Returns the value of a given card
getValue()
- Method in class lthc.casino.
Card
Returns the value of the card
getValue()
- Method in class lthc.casino.
PokerCard
This method gets the face value of the card
getWaitingCount()
- Method in interface lthc.casino.
BlackJackGame
Get's the number of people waiting
getWaitingCount()
- Method in class lthc.casino.
BlackJackGameImpl
Get's the number of people waiting
getWinnings()
- Method in interface lthc.casino.
Poker
This method gets the current winnings
getWinnings()
- Method in class lthc.casino.
PokerImpl
This method gets the current winnings
getWon(int)
- Method in interface lthc.casino.
Keno
This method tells whether a number is a winning number or not.
getWon(int)
- Method in class lthc.casino.
KenoObject
This method tells whether a number is a winning number or not.
H
hit(int)
- Method in interface lthc.casino.
BlackJackGame
Tells the server to give a card to the user
hit(int)
- Method in class lthc.casino.
BlackJackGameImpl
Tells the server to give a card to the user
holdCard(int)
- Method in interface lthc.casino.
Poker
This method checks if a specified card was held
holdCard(int)
- Method in class lthc.casino.
PokerImpl
This method checks if a specified card was held
I
isFull()
- Method in interface lthc.casino.
BlackJackGame
Returns true if the table is full
isFull()
- Method in class lthc.casino.
BlackJackGameImpl
Returns true if the table is full
isMyTurn(int)
- Method in interface lthc.casino.
BlackJackGame
This method tells if it's that player's turn or not
isMyTurn(int)
- Method in class lthc.casino.
BlackJackGameImpl
This method tells if it's that player's turn or not
J
joinBJGame(User, int)
- Method in interface lthc.casino.
Casino
Attemps to join a Black Jack game
joinBJGame(User, int)
- Method in class lthc.casino.
CasinoImpl
Adds a user to a blackjack game
joinBlackJackGame(int)
- Method in class lthc.casino.
MainWindow
the method adds the user to a blackjack game
K
Keno
- interface lthc.casino.
Keno
.
This class is the object that tracks all the settings and does all the functions for the keno game.
KenoObject
- class lthc.casino.
KenoObject
.
This class is the object that tracks all the settings and does all the functions for the keno game.
KenoObject(Casino)
- Constructor for class lthc.casino.
KenoObject
This is the main constructor for the class
KenoWindow
- class lthc.casino.
KenoWindow
.
This class is the window for the keno game on the client side of the program
KenoWindow(User, Keno, Casino, SoundManager)
- Constructor for class lthc.casino.
KenoWindow
The main constructor for KenoWindow.
keyPressed(KeyEvent)
- Method in class lthc.casino.
LoginWindow
checks the key pressed
keyReleased(KeyEvent)
- Method in class lthc.casino.
LoginWindow
checks the key released
keyTyped(KeyEvent)
- Method in class lthc.casino.
LoginWindow
checks the key typed
L
LeaderBoard
- class lthc.casino.
LeaderBoard
.
This class creates a window to show the leader board
LeaderBoard(User, Casino, SoundManager)
- Constructor for class lthc.casino.
LeaderBoard
LeaderBoard Constructor
LoginWindow
- class lthc.casino.
LoginWindow
.
This class generates the login window
LoginWindow(Casino)
- Constructor for class lthc.casino.
LoginWindow
This method generates the login window my calling createGUI and calling the window "LTHC Casino"
login(String, String)
- Method in interface lthc.casino.
Casino
Logs the user in
login(String, String)
- Method in class lthc.casino.
CasinoImpl
Logs the user in
login(String, String)
- Method in class lthc.casino.
DataBaseManager
This method verifies the username and password login
login()
- Method in class lthc.casino.
LoginWindow
This method logs you into the program
lthc.casino
- package lthc.casino
M
Main
- class lthc.casino.
Main
.
This is the main class that initiates the whole program
Main()
- Constructor for class lthc.casino.
Main
MainWindow
- class lthc.casino.
MainWindow
.
This is the window after you login that lets you choose the game
MainWindow(User)
- Constructor for class lthc.casino.
MainWindow
This creates the window and calls it "LTHC Casino"
MainWindow(User, Casino, SoundManager)
- Constructor for class lthc.casino.
MainWindow
This creates the window and calls it "LTHC Casino"
main(String[])
- Static method in class lthc.casino.
CasinoClient
Main method creates the client
main(String[])
- Static method in class lthc.casino.
CasinoServer
Main Method creates the server
main(String[])
- Static method in class lthc.casino.
Main
This is the main method
mouseClicked(MouseEvent)
- Method in class lthc.casino.
PokerWindow
This method is an abstract representation of a mouse press
mouseEntered(MouseEvent)
- Method in class lthc.casino.
PokerWindow
This method is an abstract representation of a mouse entering the window
mouseExited(MouseEvent)
- Method in class lthc.casino.
PokerWindow
This method is an abstract representation of a mouse exiting the window
mousePressed(MouseEvent)
- Method in class lthc.casino.
PokerWindow
This method is an abstract representation of a mouse button being pressed
mouseReleased(MouseEvent)
- Method in class lthc.casino.
PokerWindow
This method is an abstract representation of a mouse button being released
myCardCount(int)
- Method in interface lthc.casino.
BlackJackGame
This method returns the card count of the player
myCardCount(int)
- Method in class lthc.casino.
BlackJackGameImpl
This method returns the card count of the player
N
nextAvailableSeat()
- Method in interface lthc.casino.
BlackJackGame
This method returns an int that corresponds to the index of the next avaliable seat
nextAvailableSeat()
- Method in class lthc.casino.
BlackJackGameImpl
This method returns an int that corresponds to the index of the next avaliable seat
notifyObservers()
- Method in interface lthc.casino.
BlackJackGame
This method notifies the observer on the current blackjack game
notifyObservers()
- Method in class lthc.casino.
BlackJackGameImpl
This method updates the observers
P
Player
- class lthc.casino.
Player
.
This class is an extension of User
Player()
- Constructor for class lthc.casino.
Player
this is the main constructor
Player(String, String, int, int, Casino)
- Constructor for class lthc.casino.
Player
Player constructor
Poker
- interface lthc.casino.
Poker
.
This is an interface for the poker game
PokerCard
- class lthc.casino.
PokerCard
.
This class represents a card in the video poker game
PokerCard(char, int)
- Constructor for class lthc.casino.
PokerCard
The main pokercard constructor
PokerDeck
- class lthc.casino.
PokerDeck
.
This class represents a poker deck
PokerDeck()
- Constructor for class lthc.casino.
PokerDeck
The main pokerdeck constructor
PokerImpl
- class lthc.casino.
PokerImpl
.
This method implements the Poker interface
PokerImpl(Casino)
- Constructor for class lthc.casino.
PokerImpl
This is the main constructor for PokerImpl
PokerWindow
- class lthc.casino.
PokerWindow
.
This class is the poker window
PokerWindow(User, Poker, Casino, SoundManager)
- Constructor for class lthc.casino.
PokerWindow
This is the main pokerwindow constructor
paint(Graphics)
- Method in class lthc.casino.
BackgroundPanel
Override Paint method to insure background does not draw over other objects
paint(Graphics)
- Method in class lthc.casino.
BlackJackPanel
This method draws the panel
paint(Graphics)
- Method in class lthc.casino.
BlackJackWindow
Paints to the window
paint(Graphics)
- Method in class lthc.casino.
PokerWindow
This method is overriding the paint method of the JFrame class poker window extends
playerHasBusted(int)
- Method in interface lthc.casino.
BlackJackGame
Tells whether player has busted
playerHasBusted(int)
- Method in class lthc.casino.
BlackJackGameImpl
Tells whether player has busted
playerScore(int)
- Method in interface lthc.casino.
BlackJackGame
Tells the player score
playerScore(int)
- Method in class lthc.casino.
BlackJackGameImpl
Tells the player score
pullCrank()
- Method in interface lthc.casino.
SlotsGame
This method pulls the slot crank
pullCrank()
- Method in class lthc.casino.
SlotsGameImpl
This method pulls the slot crank
R
RegisterWindow
- class lthc.casino.
RegisterWindow
.
This class generages the register window
RegisterWindow(Casino)
- Constructor for class lthc.casino.
RegisterWindow
This creates the window and calls it "LTHC Casino"
randomTen()
- Method in interface lthc.casino.
Keno
This method selects a random 10 numbers
randomTen()
- Method in class lthc.casino.
KenoObject
This method selects a random 10 numbers
recordBet(int, int)
- Method in interface lthc.casino.
BlackJackGame
Records the bet at the proper index
recordBet(int, int)
- Method in class lthc.casino.
BlackJackGameImpl
Records the bet at the proper index
register(String, String)
- Method in interface lthc.casino.
Casino
Registers the user
register(String, String)
- Method in class lthc.casino.
CasinoImpl
Registers the user
register(String, String)
- Method in class lthc.casino.
DataBaseManager
This method adds a new username and password in the database table
remove(int, Updater)
- Method in interface lthc.casino.
BlackJackGame
Removes the user at seat i
remove(int, Updater)
- Method in class lthc.casino.
BlackJackGameImpl
Removes the user at seat i
removeObserver(Updater)
- Method in interface lthc.casino.
BlackJackGame
This method removes the observer from the current blackjack game
removeObserver(Updater)
- Method in class lthc.casino.
BlackJackGameImpl
This method removes the observer from the current blackjack game
removeWaiting(User, Updater)
- Method in interface lthc.casino.
BlackJackGame
This method removes the waiting status
removeWaiting(User, Updater)
- Method in class lthc.casino.
BlackJackGameImpl
This method removes the waiting status
resetCards()
- Method in class lthc.casino.
Player
Resets the list of cards done when game is over
resetSelected()
- Method in interface lthc.casino.
Keno
This method resets all selected numbers to be unselected
resetSelected()
- Method in class lthc.casino.
KenoObject
This method resets all selected numbers to be unselected
resetWon()
- Method in interface lthc.casino.
Keno
This method resets all the winning numbers to be not winning
resetWon()
- Method in class lthc.casino.
KenoObject
This method resets all the winning numbers to be not winning
retrieveImage(int)
- Method in class lthc.casino.
SlotsGameWindow
This method returns the appropriate slot machine image
run()
- Method in class lthc.casino.
SoundManager
This class runs the SoundManager
runKeno(int, User)
- Method in interface lthc.casino.
Keno
This is the method that selects 20 winning numbers
runKeno(int, User)
- Method in class lthc.casino.
KenoObject
This is the method that selects 20 winning numbers
runSlots(User, int)
- Method in interface lthc.casino.
SlotsGame
This method runs the slot game logic
runSlots(User, int)
- Method in class lthc.casino.
SlotsGameImpl
This method runs the slot game logic
S
SlotsGame
- interface lthc.casino.
SlotsGame
.
This interface is an an abstaction of the slot game
SlotsGameImpl
- class lthc.casino.
SlotsGameImpl
.
This class is the implementation of the SlotsGame interface
SlotsGameImpl(Casino)
- Constructor for class lthc.casino.
SlotsGameImpl
Slots game constructor
SlotsGameWindow
- class lthc.casino.
SlotsGameWindow
.
This class is the SlotsGame window
SlotsGameWindow(User, SlotsGame, Casino, SoundManager)
- Constructor for class lthc.casino.
SlotsGameWindow
The SlotsWindow constructor
SoundManager
- class lthc.casino.
SoundManager
.
This class manages all the sounds used in this program
SoundManager()
- Constructor for class lthc.casino.
SoundManager
This is the main constructor
seatIsTaken(int)
- Method in interface lthc.casino.
BlackJackGame
Used to see if seat is taken
seatIsTaken(int)
- Method in class lthc.casino.
BlackJackGameImpl
Used to see if seat is taken
selectNumber(int)
- Method in interface lthc.casino.
Keno
This method changes the KenoObject so that the number picked is set as selected.
selectNumber(int)
- Method in class lthc.casino.
KenoObject
This method changes the KenoObject so that the number picked is set as selected.
setBet(int)
- Method in class lthc.casino.
Player
Sets the bet
setCasino(Casino)
- Method in class lthc.casino.
LeaderBoard
Sets the Casino
setCasino(Casino)
- Method in class lthc.casino.
MainWindow
This sets the casino to be the passed parameter
setChat(String)
- Method in interface lthc.casino.
BlackJackGame
This method updates the user chat window
setChat(String)
- Method in class lthc.casino.
BlackJackGameImpl
This method updates the user chat window
setFace()
- Method in class lthc.casino.
Card
setMoney(String, int)
- Method in interface lthc.casino.
Casino
Sets the user's money
setMoney(String, int)
- Method in class lthc.casino.
CasinoImpl
Sets the user's money
setMoney(String, int)
- Method in class lthc.casino.
DataBaseManager
Sets the value for money in the database under the username
setMoney(int)
- Method in interface lthc.casino.
User
Sets the money of the user as well as updating the database
setMoney(int)
- Method in class lthc.casino.
UserImpl
Sets the money of the user as well as updating the database
setNewButtonColors()
- Method in class lthc.casino.
KenoWindow
This method sets all the button colors according to the KenoObject
setRank(String, int)
- Method in interface lthc.casino.
Casino
Sets the user's rank
setRank(String, int)
- Method in class lthc.casino.
CasinoImpl
Sets the user's rank
setRank(String, int)
- Method in class lthc.casino.
DataBaseManager
Sets the user's rank
setRank(int)
- Method in interface lthc.casino.
User
Sets the rank of the player
setRank(int)
- Method in class lthc.casino.
UserImpl
Sets the rank of the player
setUser(User)
- Method in class lthc.casino.
BackgroundPanel
Sets u to be a specific User
setValue(int)
- Method in class lthc.casino.
Card
Sets the value of the card
setWaiting(boolean)
- Method in class lthc.casino.
BlackJackWindow
This sets the game as waiting, so the user can't do anything till it's done
setWaiting(boolean)
- Method in interface lthc.casino.
Updater
This method lets a user know that they have to wait to play
setWaiting(boolean)
- Method in class lthc.casino.
UpdaterImpl
This method lets a user know that they have to wait to play
showDealerCards(Graphics)
- Method in class lthc.casino.
BlackJackWindow
This method makes the dealer show his cards
showPlayerCards(Graphics)
- Method in class lthc.casino.
BlackJackWindow
This method makes the players show their cards
showTurnMarker(Graphics)
- Method in class lthc.casino.
BlackJackWindow
This method shows the turn marker
shuffle()
- Method in class lthc.casino.
Deck
Shuffles the Deck
shuffle()
- Method in class lthc.casino.
PokerDeck
This method shuffles the deck
split()
- Method in class lthc.casino.
BlackJackGameImpl
this method allows the player to split
stay(User)
- Method in interface lthc.casino.
BlackJackGame
Tells the server that this user wants to stay
stay(User)
- Method in class lthc.casino.
BlackJackGameImpl
Tells the server that this user wants to stay
T
testForAce(int)
- Method in class lthc.casino.
BlackJackGameImpl
This method tests for an ace in the player's hand
testForWinners()
- Method in class lthc.casino.
BlackJackGameImpl
This method tests who won
thisUser
- Variable in class lthc.casino.
CasinoImpl
toString()
- Method in class lthc.casino.
BlackJackGameImpl
This method returns a string with a message including the current number of players in it
toString()
- Method in class lthc.casino.
PokerCard
This method returns all the card info in a single string
U
Updater
- interface lthc.casino.
Updater
.
This class updates blackjack
UpdaterImpl
- class lthc.casino.
UpdaterImpl
.
This class updates blackjack
UpdaterImpl(Updater)
- Constructor for class lthc.casino.
UpdaterImpl
This is the main constructor
User
- interface lthc.casino.
User
.
The User interface
UserImpl
- class lthc.casino.
UserImpl
.
This database manager uses this file to organize this user's info in the database table
UserImpl()
- Constructor for class lthc.casino.
UserImpl
UserImpl(String, String, int, int, Casino)
- Constructor for class lthc.casino.
UserImpl
This method generates the user's info
update()
- Method in class lthc.casino.
BlackJackWindow
This updates everything
update(String)
- Method in class lthc.casino.
ChatPanel
This method updates the text in the chat panel
update()
- Method in class lthc.casino.
PokerWindow
This method updates all the parts of the poker window
update()
- Method in interface lthc.casino.
Updater
This is the main update method
update()
- Method in class lthc.casino.
UpdaterImpl
This is the main update method
updateChat(String)
- Method in class lthc.casino.
BlackJackWindow
Updates the chat panel
updateChat(String)
- Method in interface lthc.casino.
Updater
This method updates the chat window
updateChat(String)
- Method in class lthc.casino.
UpdaterImpl
This method updates the chat window
updateChatServer(String)
- Method in class lthc.casino.
BlackJackWindow
Updates the chat server
updateUsersChat(String)
- Method in interface lthc.casino.
BlackJackGame
This method updates the chat window
updateUsersChat(String)
- Method in class lthc.casino.
BlackJackGameImpl
This method updates the chat window
updateWaiting(int)
- Method in interface lthc.casino.
BlackJackGame
This method updates the observers waiting list
updateWaiting()
- Method in interface lthc.casino.
BlackJackGame
This method updates who's waiting on the observer
updateWaiting()
- Method in class lthc.casino.
BlackJackGameImpl
This method updates who's waiting on the observer
updateWaiting(int)
- Method in class lthc.casino.
BlackJackGameImpl
This method updates the observers waiting list
W
win
- class lthc.casino.
win
.
This class adds a window that lets us startup a new client
win()
- Constructor for class lthc.casino.
win
This is the main constructor
A
B
C
D
G
H
I
J
K
L
M
N
P
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes