A B C D F G H I J L M N O P R S T U V W X Y 
All Classes All Packages

A

ACTOR_POSITION - pacManReloaded.common.Command
 
addPlayer(ServerThread) - Method in class pacManReloaded.server.Lobby
method to add a player to the lobby
AlreadyPlaying - pacManReloaded.common.JoinLobbyResult
 

B

Ball - Class in pacManReloaded.common.model
 
Ball(Point2D.Float) - Constructor for class pacManReloaded.common.model.Ball
 
Balls - Variable in class pacManReloaded.common.model.Map
 
BEGIN_FAILED - pacManReloaded.common.Command
beginnt failed command
BEGIN_GAME - pacManReloaded.common.Command
begin game request command
blue - pacManReloaded.common.model.GhostColor
 
broadcast(ServerThread, ChatMessage) - Method in class pacManReloaded.server.Server
handles the broadcast of a message in the server, sends the message to all clients connected to the server

C

CHANGE_DIRECTION - pacManReloaded.common.Command
 
changeDir(Direction) - Method in class pacManReloaded.common.model.Ghost
 
changeDir(Direction) - Method in class pacManReloaded.common.model.PacMan
 
changeName(String) - Method in class pacManReloaded.client.Client
the method changes the name of the client and adds the new name on the playerlist for the same client
changePosition() - Method in class pacManReloaded.server.Player
checks the direction of the player, if possible the position of the player will be updated
ChatMessage - Class in pacManReloaded.common.messages
 
ChatMessage(String) - Constructor for class pacManReloaded.common.messages.ChatMessage
Constructor of the class
ChatMessage(String, String) - Constructor for class pacManReloaded.common.messages.ChatMessage
Constructor of the class
ChatWithAddress - Class in pacManReloaded.common.messages
 
ChatWithAddress(String) - Constructor for class pacManReloaded.common.messages.ChatWithAddress
Constructor of the class, splits the string in an array
ChatWithAddress(String, String) - Constructor for class pacManReloaded.common.messages.ChatWithAddress
Constructor of the class
checkKeyboard() - Method in class pacManReloaded.client.ClientGUI
 
checkSuperPower() - Method in class pacManReloaded.server.GameLogic
checks if super power is active, while active the ghosts will get a message so they know the PacMans are able to hunt them
Client - Class in pacManReloaded.client
Client class creates client and handles its actions.
Client(String, String, int) - Constructor for class pacManReloaded.client.Client
Constructor of Client, opens a new socket to be able to connect to the server 3 args: - 1: ip address - 2: port of the socket - 3: name (optional, if no third argument: username of computer used) let you choose your name.
CLIENT_INFO - pacManReloaded.common.Command
client info command
ClientGUI - Class in pacManReloaded.client
 
ClientProtocol - Class in pacManReloaded.client
 
ClientProtocol() - Constructor for class pacManReloaded.client.ClientProtocol
 
ClientThread - Class in pacManReloaded.client
 
ClientThread(Client, Socket, String) - Constructor for class pacManReloaded.client.ClientThread
Constructor of ClientThread
close() - Method in class pacManReloaded.client.ClientThread
closes the Thread - disconnects the Client from the server
close() - Method in class pacManReloaded.server.ServerThread
closes the socket of the server
CLOSE - pacManReloaded.common.Command
close command
Closed - pacManReloaded.common.LobbyState
 
collisionWithBallGhost(Ball) - Method in class pacManReloaded.server.GameLogic
handles the collision by a ghost with a ball, updates score and the game state, removes the ball on the map
collisionWithBallPacMan(Ball) - Method in class pacManReloaded.server.GameLogic
handles the collision by a pacman with a ball, updates score and the game state, removes the ball on the map
collisionWithPowerballGhost(PowerBall) - Method in class pacManReloaded.server.GameLogic
handles the collision by a ghost with a powerball, updates score and the game state, removes the ball on the map
collisionWithPowerballPacMan(PowerBall) - Method in class pacManReloaded.server.GameLogic
handles the collision by a pacman with a powerball, updates score and the game state, removes the ball on the map
color - Variable in class pacManReloaded.common.model.Ghost
 
Command - Enum in pacManReloaded.common
Commands that can be used by Server and Client
CommandFactory - Class in pacManReloaded.common
 
CommandFactory() - Constructor for class pacManReloaded.common.CommandFactory
 
connectToServer() - Method in class pacManReloaded.client.Client
method which connects the client to the server, if the client already runs a thread opens a new socket with the ip address and the port of the server
createBall(Point2D.Float) - Method in class pacManReloaded.server.GameLogic
creates new ball and adds it to the appropriate list
Created - pacManReloaded.common.JoinLobbyResult
 
createGate(String) - Method in class pacManReloaded.server.GameLoader
create Gate
createGhost(String) - Method in class pacManReloaded.server.GameLoader
create Ghoast
createMessage(Command, ArrayList<String>) - Static method in class pacManReloaded.common.CommandFactory
method which creates the message
createPacMan(String) - Method in class pacManReloaded.server.GameLoader
create pacman
createPowerBalls(String) - Method in class pacManReloaded.server.GameLoader
create powerball
createWall(String) - Method in class pacManReloaded.server.GameLoader
create wall

D

detectCollisions() - Method in class pacManReloaded.server.GameLogic
this method finds out of the next step of an actor is a collision with another object/wall
direction - Variable in class pacManReloaded.server.Player
 
Direction - Enum in pacManReloaded.common.model
 
disconnect() - Method in class pacManReloaded.client.ClientGUI
 
disconnectFromServer() - Method in class pacManReloaded.client.Client
method which disconnects the client from the server, thread stops isConnected status updated
done - pacManReloaded.server.GameStatus
 
done - pacManReloaded.server.PlayerState
 
doNothing - pacManReloaded.server.PlayerState
 
doPlay() - Method in class pacManReloaded.server.GameLogic
decides which part of the game will happens next, depending on the game status
down - pacManReloaded.common.model.Direction
 

F

findLobby(ServerThread) - Method in class pacManReloaded.server.Server
method to find a lobby
forwardBeginFailed() - Method in class pacManReloaded.client.Client
handles the failure of a beginning game (less than 2 players in a game) for the GUI
forwardHighScore(String) - Method in class pacManReloaded.client.Client
handles the visualization of the highscore for the GUI
forwardJoinLobbyResponse(boolean) - Method in class pacManReloaded.client.Client
handles the lobby response
forwardManual(String) - Method in class pacManReloaded.client.Client
handles the manual for the GUI

G

GAME_FINISHED - pacManReloaded.common.Command
game finished command
gameFinished(boolean) - Method in class pacManReloaded.server.Player
method which handles the finished game
GameFinishedMessage - Class in pacManReloaded.common.messages
 
GameFinishedMessage(String) - Constructor for class pacManReloaded.common.messages.GameFinishedMessage
Constructor of the class, splits the given string in an array
GameFinishedMessage(String, String) - Constructor for class pacManReloaded.common.messages.GameFinishedMessage
Constructor of the class
GameLoader - Class in pacManReloaded.server
load the map.txt and creat map
GameLoader() - Constructor for class pacManReloaded.server.GameLoader
Dummy-Constructor for Unit-Testing
GameLoader(INavigator, ArrayList<Player>) - Constructor for class pacManReloaded.server.GameLoader
 
GameLogic - Class in pacManReloaded.server
 
GameLogic() - Constructor for class pacManReloaded.server.GameLogic
Dummy-Constructor for Unit tests
GameLogic(ArrayList<Player>, Server) - Constructor for class pacManReloaded.server.GameLogic
Constructor of the Class, starts a game with the players and server as parameters
gameState - Variable in class pacManReloaded.server.GameLogic
 
GameState - Class in pacManReloaded.server
 
GameState(int, int) - Constructor for class pacManReloaded.server.GameState
 
GAMESTATE - pacManReloaded.common.Command
 
gameStatus - Variable in class pacManReloaded.server.GameState
 
GameStatus - Enum in pacManReloaded.server
 
gate - Variable in class pacManReloaded.common.model.Map
 
Gate - Class in pacManReloaded.common.model
 
Gate(Point2D.Float) - Constructor for class pacManReloaded.common.model.Gate
 
GET_CLIENT_INFO - pacManReloaded.common.Command
Client Info request command
GET_HIGHSCORE - pacManReloaded.common.Command
highscore request command
GET_LOBBY_INFO - pacManReloaded.common.Command
Lobby info request command
GET_MANUAL - pacManReloaded.common.Command
manual request command
GET_NICKNAME - pacManReloaded.common.Command
gets the Nickname of Client or Server.
getActors() - Method in class pacManReloaded.client.Client
method which returns all the actors/players in the game
getAddress() - Method in class pacManReloaded.common.messages.ChatWithAddress
"getter" for the address
getAndSetName(ServerThread, String, String) - Method in class pacManReloaded.server.Server
Gets the Nickname that should be used.
getAnswer() - Method in class pacManReloaded.common.messages.GameFinishedMessage
"getter" for the answer
getBalance() - Method in class pacManReloaded.common.messages.GameFinishedMessage
"getter" for the balance
getClient() - Method in class pacManReloaded.server.Player
"getter" for the client(thread)
getClientInfoString() - Method in class pacManReloaded.server.Server
get the names of the connected clients in a string
getClientThread() - Method in class pacManReloaded.client.Client
"getter" for client thread
getDirection() - Method in class pacManReloaded.common.model.Ghost
 
getDirection() - Method in class pacManReloaded.common.model.PacMan
 
getDirection() - Method in class pacManReloaded.server.Player
"getter" for the direction of the player
getEnum(String) - Static method in enum pacManReloaded.common.Command
"getter" for the Command-enum
getExitPosition() - Method in interface pacManReloaded.common.model.INavigator
 
getExitPosition() - Method in class pacManReloaded.server.GameLogic
 
getFrom() - Method in class pacManReloaded.common.messages.ChatMessage
"getter" for where the message comes from
getGameState() - Method in class pacManReloaded.client.Client
"getter" fot the current game state
getGameState() - Method in class pacManReloaded.server.GameLogic
"getter" for the game state
getGameStatus() - Method in class pacManReloaded.server.GameLogic
"getter" for the game status
getGameStatus() - Method in class pacManReloaded.server.GameState
"getter" for the curretn game status
getHighScore() - Method in class pacManReloaded.server.HighScore
"getter" of the result of the highscore
getHighScoreString() - Method in class pacManReloaded.server.Server
method which makes the highscore of the file to a readable string
getInfo() - Method in class pacManReloaded.common.messages.ChatMessage
"getter" for the info of the message
getInfo() - Method in class pacManReloaded.common.messages.ChatWithAddress
"getter" for the info of the message
getLastContact() - Method in class pacManReloaded.client.ClientThread
"getter" for last contact to the server
getLastContact() - Method in class pacManReloaded.server.ServerThread
"getter" for the last contact of the server
getLobby() - Method in class pacManReloaded.client.Client
"getter" for the lobby of a client
getLobbyInfoString() - Method in class pacManReloaded.server.Server
"getter" for the info of the lobby
getManualText() - Method in class pacManReloaded.server.Server
"getter" for the manual text as string
getMapSize() - Method in interface pacManReloaded.common.model.INavigator
 
getMapSize() - Method in class pacManReloaded.common.model.Map
 
getMapSize() - Method in class pacManReloaded.server.GameLogic
 
getMsgSentTime() - Method in class pacManReloaded.server.Player
"getter" for the message send time
getMyLobby() - Method in class pacManReloaded.client.ClientThread
"getter" for your lobby
getMyName() - Method in class pacManReloaded.client.ClientThread
"getter" for your name
getMyName() - Method in class pacManReloaded.server.ServerThread
"getter" for the nickname of the player
getName() - Method in class pacManReloaded.server.HighScore
"getter" for name
getName() - Method in class pacManReloaded.server.Lobby
getter for the name of the lobby
getNumber() - Method in class pacManReloaded.server.HighScore
 
getObject(Point2D.Float) - Method in class pacManReloaded.common.model.Map
return object that is at the position
getObjectAtPosition(Point2D.Float) - Method in interface pacManReloaded.common.model.INavigator
 
getObjectAtPosition(Point2D.Float) - Method in class pacManReloaded.server.GameLogic
 
getPacman() - Method in class pacManReloaded.server.GameLogic
"getter" for the PacMans
getPacmanPosition() - Method in interface pacManReloaded.common.model.INavigator
 
getPacmanPosition() - Method in class pacManReloaded.server.GameLogic
 
getParamValue() - Method in class pacManReloaded.common.messages.SingleStringParameterMessage
"getter" for the value of the parameters
getParamValueBalls() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the value of the parameters
getParamValueGate() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the value of the parameters
getParamValuePowerBalls() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the value of the parameters
getParamValueSize() - Method in class pacManReloaded.common.messages.MapMessage
size of the parameter
getParamValueSpawn() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the value of the parameters
getParamValueWalls() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the value of the parameters
getPlayers() - Method in class pacManReloaded.server.Lobby
"getter" of the players
getServer() - Method in class pacManReloaded.server.ServerThread
"getter" for the server
getServerTicks() - Method in class pacManReloaded.server.Lobby
messure of the server ticks in milli seconds, counts them to be able to analyse them
getSocket() - Method in class pacManReloaded.server.ServerThread
"getter" for the socket
getState() - Method in class pacManReloaded.server.Lobby
"getter" for the state of the lobby
getState() - Method in class pacManReloaded.server.Player
"getter" for the state of the player
getThreadId() - Method in class pacManReloaded.server.ServerThread
"getter" for the id of the thread
getToReadableTime(long) - Method in class pacManReloaded.server.Server
Getter for the function toReadableTime.
getType() - Method in class pacManReloaded.common.messages.ChatMessage
"getter" for the type of the command
getType() - Method in class pacManReloaded.common.messages.ChatWithAddress
"getter" for the type of the command
getType() - Method in class pacManReloaded.common.messages.GameFinishedMessage
"getter" for type of the command
getType() - Method in interface pacManReloaded.common.messages.IMessage
 
getType() - Method in class pacManReloaded.common.messages.MapMessage
"getter" for the type of the command
getType() - Method in class pacManReloaded.common.messages.NoParameterMessage
"getter" for the type of the command
getType() - Method in class pacManReloaded.common.messages.SingleStringParameterMessage
"getter" for the type of the command
Ghost - Class in pacManReloaded.common.model
 
Ghost(Point2D.Float, INavigator, Point2D.Float) - Constructor for class pacManReloaded.common.model.Ghost
 
Ghost(Point2D.Float, INavigator, Point2D.Float, Player) - Constructor for class pacManReloaded.common.model.Ghost
 
GhostColor - Enum in pacManReloaded.common.model
 

H

handleActorInit(String) - Method in class pacManReloaded.client.Client
handles the "decision" of which player is going to be which type (PacMan or Ghost?)
handleActorInit(String) - Method in class pacManReloaded.client.ClientThread
handles the "decision" of which player is going to be which type (PacMan or Ghost?)
handleActorPos(String) - Method in class pacManReloaded.client.Client
handles the position and direction of the player on the field, gives infos to the client GUI
handleActorPos(String) - Method in class pacManReloaded.client.ClientThread
method which handles the position and direction of the players
handleBeginFailed() - Method in class pacManReloaded.client.ClientThread
handles the starting game failed message for the client
handleChangeDir(String, ServerThread) - Method in class pacManReloaded.server.Lobby
handles the changing of each players moving direction
handleChat(ChatMessage) - Method in class pacManReloaded.client.ClientGUI
handles the chat message, appends to the text area what a player sended and who it was
handleChat(ChatMessage) - Method in class pacManReloaded.client.ClientThread
handles the chat message, decides which type of message you want to send
handleChatToMeMessage(ChatWithAddress) - Method in class pacManReloaded.client.ClientGUI
handles the chat message, appends to the text area what a player sended and who it was
handleChatToMeMessage(ChatWithAddress) - Method in class pacManReloaded.client.ClientThread
handles the message, which was send to you (private message)
handleChatWithAddress(ServerThread, ChatWithAddress) - Method in class pacManReloaded.server.Server
handles private messages "NotInLobby" is reserved as keyword
handleGameFinish(String) - Method in class pacManReloaded.client.ClientGUI
 
handleGameFinish(GameFinishedMessage) - Method in class pacManReloaded.client.Client
 
handleGameFinish(GameFinishedMessage) - Method in class pacManReloaded.client.ClientThread
 
handleGameState(String) - Method in class pacManReloaded.client.Client
handles the state of the game, containing scores and "superpower"
handleGameState(String) - Method in class pacManReloaded.client.ClientThread
handles the state of the game, containing scores and "superpower"
handleHighScore(String) - Method in class pacManReloaded.client.ClientGUI
"setter" for the highscore
handleInitGameState(String) - Method in class pacManReloaded.client.Client
initialization of the game state
handleInitGameState(String) - Method in class pacManReloaded.client.ClientThread
initialization of the game state
handleJoinLobbyResponse(String) - Method in class pacManReloaded.client.ClientThread
handles to response of the lobby to your client
handleManual(String) - Method in class pacManReloaded.client.ClientGUI
handles the manual in the GUI
handleManual(String) - Method in class pacManReloaded.client.ClientThread
handles the manual for the client
handleMap(MapMessage) - Method in class pacManReloaded.client.Client
gets infos about the map, creates and paints it to the ClientGUI.
handleMap(MapMessage) - Method in class pacManReloaded.client.ClientThread
handles the messages of the map, containing walls, balls, ...
handleMessage(IMessage, ServerThread) - Method in class pacManReloaded.server.Lobby
handles messages of the game
handleMsg(ServerThread, IMessage) - Method in class pacManReloaded.server.ServerProtocol
method which handles the messages
handleRemoveObject(String) - Method in class pacManReloaded.client.Client
method which handles the removing of an object, which was taken buy a player from the field, deletes the object from the client GUI
handleRemoveObject(String) - Method in class pacManReloaded.client.ClientThread
method which handles the removing of an object, which was taken buy a player from the field, deletes the object from the client GUI
handleServerClientInfo(String) - Method in class pacManReloaded.client.ClientThread
handles the info of the server, and prints it
handleServerHighScore(String) - Method in class pacManReloaded.client.ClientThread
handles the reading of the highscore file by the server
handleServerLobbyInfo(String) - Method in class pacManReloaded.client.ClientThread
handles the info of the server, and prints it
hasPlayer(String) - Method in class pacManReloaded.server.Lobby
method to check if the lobby contains player
HighScore - Class in pacManReloaded.server
 
HighScore(String, int, int) - Constructor for class pacManReloaded.server.HighScore
Constructor of HighScore
HIGHSCORE - pacManReloaded.common.Command
Highscore command

I

IMessage - Interface in pacManReloaded.common.messages
 
INavigator - Interface in pacManReloaded.common.model
 
InformationGUI - Class in pacManReloaded.client
 
InformationGUI() - Constructor for class pacManReloaded.client.InformationGUI
Constructor of the Class, creates the frame.
INIT_GAMESTATE - pacManReloaded.common.Command
 
INIT_PLAYER - pacManReloaded.common.Command
 
initFont() - Method in class pacManReloaded.client.ClientGUI
 
initialized - pacManReloaded.server.GameStatus
 
initInformationGUI(String, Dimension, String) - Static method in class pacManReloaded.client.InformationGUI
sets the visibility if the information GUI
isConnected() - Method in class pacManReloaded.client.Client
check method for the connection status
isDone() - Method in class pacManReloaded.server.GameLogic
method which checks if the game is over/done
isFree(float, float) - Method in class pacManReloaded.common.model.Map
check position is free of objects
isInSpawn(Ghost) - Method in interface pacManReloaded.common.model.INavigator
 
isInSpawn(Ghost) - Method in class pacManReloaded.server.GameLogic
 

J

JOIN_LOBBY - pacManReloaded.common.Command
join lobby request command
JOIN_LOBBY_RESPONSE - pacManReloaded.common.Command
join lobby response command
Joined - pacManReloaded.common.JoinLobbyResult
 
joinLobby(ServerThread, String) - Method in class pacManReloaded.server.Server
method which handles the accession into a lobby
JoinLobbyResult - Enum in pacManReloaded.common
 

L

left - pacManReloaded.common.model.Direction
 
load(String, Map, ArrayList<Player>) - Method in class pacManReloaded.server.GameLoader
load the map.txt and creat map
Lobby - Class in pacManReloaded.server
 
Lobby(String, Server) - Constructor for class pacManReloaded.server.Lobby
Constructor of the Lobby
LOBBY_INFO - pacManReloaded.common.Command
lobby info command
LobbyState - Enum in pacManReloaded.common
 
lock() - Method in class pacManReloaded.common.Lock
 
Lock - Class in pacManReloaded.common
 
Lock() - Constructor for class pacManReloaded.common.Lock
 

M

main(String[]) - Static method in class pacManReloaded.common.Main
main method, 2cases:1. create server; 2. create client
Main - Class in pacManReloaded.common
 
Main() - Constructor for class pacManReloaded.common.Main
 
MANUAL - pacManReloaded.common.Command
manual command
map - Variable in class pacManReloaded.server.GameLogic
 
Map - Class in pacManReloaded.common.model
 
Map() - Constructor for class pacManReloaded.common.model.Map
 
MAP - pacManReloaded.common.Command
map command
MapMessage - Class in pacManReloaded.common.messages
 
MapMessage(Command, String, String, String, String, String, String) - Constructor for class pacManReloaded.common.messages.MapMessage
Constructor of the class
MESSAGE - pacManReloaded.common.Command
Broadcast messages to all clients in the Lobby.
MY_NICKNAME - pacManReloaded.common.Command
The Nickname of the Sender will be send.

N

navigator - Variable in class pacManReloaded.server.Player
 
nextMove() - Method in class pacManReloaded.common.model.Ghost
ckeck if the next direction is possible, if it is change position, else change position in the same direction
nextMove() - Method in class pacManReloaded.common.model.PacMan
ckeck if the next direction is possible, if it is change position, else change position in the same direction
nextMove() - Method in class pacManReloaded.server.GameLogic
allows all actors to perform their next step, in addition, calls the operation checkSuperPower() and detectCollision().
nextMove() - Method in class pacManReloaded.server.Player
 
none - pacManReloaded.common.model.Direction
 
NoParameterMessage - Class in pacManReloaded.common.messages
 
NoParameterMessage(Command) - Constructor for class pacManReloaded.common.messages.NoParameterMessage
Constructor of the class

O

onInit(ServerThread) - Method in class pacManReloaded.server.ServerProtocol
on init method
open() - Method in class pacManReloaded.server.ServerThread
opens the Input- and OutputStream for the socket
Open - pacManReloaded.common.LobbyState
 
Oposite() - Method in enum pacManReloaded.common.model.Direction
 

P

PacMan - Class in pacManReloaded.common.model
 
PacMan(Point2D.Float, INavigator, Point2D.Float) - Constructor for class pacManReloaded.common.model.PacMan
 
PacMan(Point2D.Float, INavigator, Point2D.Float, Player) - Constructor for class pacManReloaded.common.model.PacMan
 
pacManReloaded.client - package pacManReloaded.client
 
pacManReloaded.common - package pacManReloaded.common
 
pacManReloaded.common.messages - package pacManReloaded.common.messages
 
pacManReloaded.common.model - package pacManReloaded.common.model
 
pacManReloaded.server - package pacManReloaded.server
 
paint() - Method in class pacManReloaded.client.ClientGUI
 
paintMap(Map) - Method in class pacManReloaded.client.ClientGUI
 
parseMessage(String) - Static method in class pacManReloaded.common.CommandFactory
method which parses the message
PING - pacManReloaded.common.Command
Sent to check connection. pong sent if check successful.
pink - pacManReloaded.common.model.GhostColor
 
play() - Method in class pacManReloaded.common.model.Sound
 
Player - Class in pacManReloaded.server
 
Player() - Constructor for class pacManReloaded.server.Player
 
Player(ServerThread) - Constructor for class pacManReloaded.server.Player
Constructor of the Player
players - Variable in class pacManReloaded.server.GameLogic
 
PlayerState - Enum in pacManReloaded.server
 
playerWon(String, int) - Method in class pacManReloaded.server.Server
includes the player who won into the highscore txt file
playing - pacManReloaded.server.GameStatus
 
playing - pacManReloaded.server.PlayerState
 
Playing - pacManReloaded.common.LobbyState
 
playLose() - Method in class pacManReloaded.common.model.Sound
 
playSound(File) - Method in class pacManReloaded.client.ClientGUI
method which okays the sound of the reading file
playSoundChat() - Method in class pacManReloaded.client.ClientGUI
loads and plays the sound for an incoming chat message
playSoundFinishedGame() - Method in class pacManReloaded.client.ClientGUI
loads and plays the sound for the game finish message
playWin() - Method in class pacManReloaded.common.model.Sound
 
points - Variable in class pacManReloaded.common.model.Wall
 
PONG - pacManReloaded.common.Command
Connection check successful.
Pos2DisplayPos(Point2D.Float) - Method in class pacManReloaded.common.model.Map
 
position - Variable in class pacManReloaded.common.model.Ball
 
position - Variable in class pacManReloaded.common.model.Gate
 
position - Variable in class pacManReloaded.server.Player
 
PowerBall - Class in pacManReloaded.common.model
 
PowerBall(Point2D.Float) - Constructor for class pacManReloaded.common.model.PowerBall
 
PowerBalls - Variable in class pacManReloaded.common.model.Map
 

R

red - pacManReloaded.common.model.GhostColor
 
Rejected - pacManReloaded.common.JoinLobbyResult
 
remove(ServerThread) - Method in class pacManReloaded.server.Server
method which handles the removal of a client,
REMOVE_OBJECT - pacManReloaded.common.Command
 
removeBall(Ball) - Method in class pacManReloaded.common.model.Map
 
removeObject(Ball) - Method in class pacManReloaded.server.GameLogic
removes the object from the map
removePlayer(ServerThread) - Method in class pacManReloaded.server.Lobby
method to remove a player from the server
removePowerBall(PowerBall) - Method in class pacManReloaded.common.model.Map
 
render(int, int) - Method in class pacManReloaded.client.ClientGUI
 
render(int, String) - Method in class pacManReloaded.client.ClientGUI
 
right - pacManReloaded.common.model.Direction
 
run() - Method in class pacManReloaded.client.ClientThread
run method listens to the input stream, processes the data that it receives
run() - Method in class pacManReloaded.server.Server
when the run method starts, the server is accepting connection at it's socket, then starts a ClientThread, which handles the Client and afterwards accepts new connections
run() - Method in class pacManReloaded.server.ServerThread
run method listens to the input stream, processes the data that it receives

S

scoreGhost - Variable in class pacManReloaded.server.GameState
 
scorePacMan - Variable in class pacManReloaded.server.GameState
 
send(IMessage) - Method in class pacManReloaded.client.ClientThread
method to send the message
send(IMessage) - Method in class pacManReloaded.server.ServerThread
method of the sending of a message
SEND_TO_ADDRESS - pacManReloaded.common.Command
Parameters: Username of receiver and messages separated by :.
sendActorPosition(ArrayList<Player>) - Method in class pacManReloaded.server.Player
sends the position of the player and updates it
sendBeginFailed() - Method in class pacManReloaded.server.Player
sends the message for the failed begin of a game to the player
sendChatMessage(String) - Method in class pacManReloaded.client.Client
method which sends the message in the chat
sendGameState(GameState) - Method in class pacManReloaded.server.Player
updates the game state and sends it
sendGetHighScore() - Method in class pacManReloaded.client.Client
sends the saved highscore
sendGetManual() - Method in class pacManReloaded.client.Client
sends the saved manual to Client
sendingFinishInfo - pacManReloaded.server.GameStatus
 
sendInitGameState(GameState) - Method in class pacManReloaded.server.Player
initialization of the gamestate, sets the status and send it
sendInitPlayer(ArrayList<Player>) - Method in class pacManReloaded.server.Player
initialization of the players, decides type of the actor, if PacMan or Ghost
sendMap(Map) - Method in class pacManReloaded.server.Player
creates the map and sends it, sets postions of each object
sendRemoveObject(Ball) - Method in class pacManReloaded.server.Player
updates the removal of an object, when a PacMan collects a ball
separator - Static variable in interface pacManReloaded.common.messages.IMessage
 
Server - Class in pacManReloaded.server
 
Server(int) - Constructor for class pacManReloaded.server.Server
Constructor of the server, opens a new socket
ServerProtocol - Class in pacManReloaded.server
 
ServerProtocol() - Constructor for class pacManReloaded.server.ServerProtocol
 
ServerThread - Class in pacManReloaded.server
 
ServerThread(Server, Socket) - Constructor for class pacManReloaded.server.ServerThread
Constructor of the server thread
SET_NICKNAME - pacManReloaded.common.Command
The Nickname will be changed.
setAddress(String) - Method in class pacManReloaded.common.messages.ChatWithAddress
"setter" for the address
setClient(Client) - Method in class pacManReloaded.client.ClientGUI
"setter" for the client
setClientInfo(String) - Method in class pacManReloaded.client.ClientGUI
"setter" for the info of the server
setDirection(Direction) - Method in class pacManReloaded.server.Player
"setter" for the direction of a player
setFear(boolean) - Method in class pacManReloaded.common.model.Ghost
 
setFrom(String) - Method in class pacManReloaded.common.messages.ChatMessage
"setter" for where the message comes from
setGameFinish(String) - Method in class pacManReloaded.client.ClientGUI
 
setGameStatus(GameStatus) - Method in class pacManReloaded.server.GameLogic
"setter" for the game status
setGameStatus(GameStatus) - Method in class pacManReloaded.server.GameState
"setter" for the game status
setHighScore(int) - Method in class pacManReloaded.server.HighScore
"setter" of the result
setLobbyInfo(String) - Method in class pacManReloaded.client.ClientGUI
"setter" for the info of the server
setMyLobby(String) - Method in class pacManReloaded.client.ClientThread
"setter" for your lobby
setMyName(String) - Method in class pacManReloaded.client.ClientThread
sets the name of the client
setMyName(String) - Method in class pacManReloaded.server.ServerThread
"setter" for the nickname of the player
setNumber(int) - Method in class pacManReloaded.server.HighScore
"setter" of the result
setPosition(Point2D.Float) - Method in class pacManReloaded.server.Player
"setter" for the position of an object
setStartPoint(Point2D.Float) - Method in class pacManReloaded.server.Player
"setter" for the starting point of a player
setState(LobbyState) - Method in class pacManReloaded.server.Lobby
"setter" for the state of the lobby
setState(PlayerState) - Method in class pacManReloaded.server.Player
"setter" for the state of the player
SingleStringParameterMessage - Class in pacManReloaded.common.messages
 
SingleStringParameterMessage(Command, String) - Constructor for class pacManReloaded.common.messages.SingleStringParameterMessage
Constructor of the class
Sound - Class in pacManReloaded.common.model
 
Sound() - Constructor for class pacManReloaded.common.model.Sound
 
Spawn - Variable in class pacManReloaded.common.model.Map
 
speed - Variable in class pacManReloaded.server.Player
 
StartPlaying - pacManReloaded.common.LobbyState
 
startPoint - Variable in class pacManReloaded.server.Player
 
superPower - Variable in class pacManReloaded.server.GameState
 

T

toString() - Method in enum pacManReloaded.common.Command
 
toString() - Method in class pacManReloaded.common.messages.ChatMessage
the to String method, forms the message into a string, seperated by "|"
toString() - Method in class pacManReloaded.common.messages.ChatWithAddress
the to String method, forms the message into a string, seperated by "|"
toString() - Method in class pacManReloaded.common.messages.GameFinishedMessage
the to String method, forms the message into a string, seperated by "|"
toString() - Method in class pacManReloaded.common.messages.MapMessage
the to String method, forms the message into a string, seperated by "|"
toString() - Method in class pacManReloaded.common.messages.NoParameterMessage
method which makes the messagetype to a string
toString() - Method in class pacManReloaded.common.messages.SingleStringParameterMessage
the to String method, forms the message into a string, seperated by "|"
toString() - Method in class pacManReloaded.server.HighScore
 
tryToChangeDirection(String) - Method in class pacManReloaded.client.Client
handles the change of the players direction, only changes if possible (if there is no wall)
tSize - Variable in class pacManReloaded.common.model.Map
 

U

UNKNOWN_MESSAGE - pacManReloaded.common.Command
if the protocol messages has not one of the mentioned prefixes from above, the prefix UNKNOWN_MESSAGE is returned.
unlock() - Method in class pacManReloaded.common.Lock
 
up - pacManReloaded.common.model.Direction
 
updateLastContact() - Method in class pacManReloaded.client.ClientThread
updates the last contact of the client to the server in milliseconds
updateLastContact() - Method in class pacManReloaded.server.ServerThread
updates the last contact of the server in milliseconds

V

valueOf(String) - Static method in enum pacManReloaded.common.Command
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.common.JoinLobbyResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.common.LobbyState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.common.model.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.common.model.GhostColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.server.GameStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pacManReloaded.server.PlayerState
Returns the enum constant of this type with the specified name.
values() - Static method in enum pacManReloaded.common.Command
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.common.JoinLobbyResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.common.LobbyState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.common.model.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.common.model.GhostColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.server.GameStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pacManReloaded.server.PlayerState
Returns an array containing the constants of this enum type, in the order they are declared.

W

Wall - Class in pacManReloaded.common.model
 
Wall(List<Point2D.Float>) - Constructor for class pacManReloaded.common.model.Wall
 
Walls - Variable in class pacManReloaded.common.model.Map
 

X

xSize - Variable in class pacManReloaded.common.model.Map
 

Y

yellow - pacManReloaded.common.model.GhostColor
 
ySize - Variable in class pacManReloaded.common.model.Map
 
A B C D F G H I J L M N O P R S T U V W X Y 
All Classes All Packages