Overview
Package
Class
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
Q
R
S
T
U
V
G
game
- Variable in class client.framework.models.
AbstractGame
GAME_OVER
- Static variable in class client.framework.network.parser.
Action
GameThread
- Class in
server.framework.threads
This thread is responsible for bundling player positions into one big position message, instead of transmitting many small position messages.
GameThread(AbstractSession)
- Constructor for class server.framework.threads.
GameThread
Initiates the
GameThread
's lists and assigns the thread's session.
GameView
- Class in
client.framework.views
The class responsible for running the game and displaying the game board.
GameView(AbstractGame)
- Constructor for class client.framework.views.
GameView
Constructor for the
GameView class
.
generatePositions(List<BBPlayer>)
- Method in class server.brickblock.fwimpl.
BBEventHandler
Generates random positions for the players given in the list.
generateRandomPosition(int, int)
- Static method in class server.brickblock.fwimpl.
BBEventHandler
Generates a random position within the specified bounds.
getAction()
- Method in class client.framework.network.parser.
ActionTriplet
Returns the action identifier.
getAction()
- Method in class server.framework.network.parser.
ActionPair
getActionObject(String)
- Static method in enum server.framework.network.parser.
Action
Returns the enum corresponding to the specified three-letter identifier.
getAddress()
- Method in class server.framework.models.
AbstractPlayer
Returns the address of the client that is represented by this
AbstractPlayer
object.
getAffectedAttribute(BBPlayer)
- Method in class server.brickblock.objects.
Powerup
Returns the player attribute that is affected by the power up object, i.e. speed, size, or strength.
getAffectedAttribute(BBPlayer)
- Method in class server.brickblock.objects.
SizeUp
Returns the player attribute that is affected by the power up object, i.e.size.
getAffectedAttribute(BBPlayer)
- Method in class server.brickblock.objects.
SpeedUp
Returns the player attribute that is affected by the power up object, i.e. speed.
getAffectedAttribute(BBPlayer)
- Method in class server.brickblock.objects.
StrengthUp
Returns the player attribute that is affected by the power up object, i.e. strength.
getAllValues(TestModule.Timer[])
- Method in class server.testmodules.
TestModule
Gets all values from the
Timer
s'.
getAttributes()
- Method in class server.brickblock.objects.
Powerup
Returns the power up's attribues, i.e. the power up's type, position, and increment value.
getAttributes()
- Method in class server.framework.models.
AbstractSession
Returns the session's id, name, current number of players and maximum number of players.
getAttributeValues()
- Method in class client.framework.models.
AbstractPlayer
Returns a String containing the most important player attributes.
getAttributeValues()
- Method in class server.framework.models.
AbstractPlayer
Returns a String containing the most important player attributes.
getColor()
- Method in class client.framework.models.
AbstractPlayer
Returns the player's color in an array containing values between [0 and 255] for each of the colors red, green and blue.
getColor()
- Method in class server.framework.models.
AbstractPlayer
getCommType(String)
- Static method in enum server.framework.models.
AbstractServer.CommType
getCommType()
- Method in class server.framework.models.
AbstractServer
getCurrentTime()
- Static method in class server.framework.
Utils
getDuration()
- Method in class server.brickblock.objects.
Powerup
Returns the duration of the power up.
getGameBoard()
- Method in class client.brickblock.fwimpl.
BrickBlock
Returns the active game board used in the game.
getGameName()
- Method in class client.brickblock.fwimpl.
BrickBlock
Returns the name of this game; "BrickBlock".
getGameName()
- Method in class client.framework.models.
AbstractGame
Returns the name of the game.
getGUI()
- Method in class server.framework.models.
AbstractServer
getHeaders()
- Method in class server.testmodules.
PingTest
getHeaders()
- Method in class server.testmodules.
TestModule
Gets the headers for the coloumns in the report.
getHeaders()
- Method in class server.testmodules.
TransferSpeedTest
getId()
- Method in class client.framework.models.
AbstractPlayer
Returns the player's id.
getId()
- Method in class client.framework.models.
Session
Returns the session's id.
getId()
- Method in class server.framework.models.
AbstractPlayer
getId()
- Method in class server.framework.models.
AbstractSession
getId()
- Method in class server.testmodules.
TestModule
Generates an id from the counter before the counter is incremented.
getInactivePowerups()
- Method in class server.brickblock.fwimpl.
BBPlayer
Loops through the player's power up objects, and checks if any of the power ups have timed out.
getIncrement()
- Method in class server.brickblock.objects.
Powerup
Returns the power up's increment value, i.e. how much the player's affected attribute is incremented when picking up the power up.
getIncrement()
- Method in class server.brickblock.objects.
SizeUp
Returns the power up's increment value, i.e. how much the player's affected attribute is incremented when picking up the power up.
getIncrement()
- Method in class server.brickblock.objects.
SpeedUp
Returns the power up's increment value, i.e. how much the player's affected attribute is incremented when picking up the power up.
getIncrement()
- Method in class server.brickblock.objects.
StrengthUp
Returns the power up's increment value, i.e. how much the player's affected attribute is incremented when picking up the power up.
getInitialInterval()
- Method in class server.testmodules.
PingTest
getInitialInterval()
- Method in class server.testmodules.
TestModule
Gets the initial interval to use between sends.
getInitialInterval()
- Method in class server.testmodules.
TransferSpeedTest
Returns the intital send interval between the messages.
getInitialMessage()
- Method in class server.testmodules.
PingTest
The first message to send.
getInitialMessage()
- Method in class server.testmodules.
TestModule
Gets the initial message to send.
getInitialMessage()
- Method in class server.testmodules.
TransferSpeedTest
Creates the initial message based on the INITIAL_SIZE value.
getLastId()
- Method in class server.testmodules.
TestModule
Gets the previous id.
getMaxPlayers()
- Method in class client.framework.models.
Session
Returns the session's maximum number of players.
getMinimumHeight()
- Method in class server.framework.models.
AbstractSession
getMinimumWidth()
- Method in class server.framework.models.
AbstractSession
getName()
- Method in class client.framework.models.
AbstractPlayer
Returns the player's name.
getName()
- Method in class client.framework.models.
Session
Returns the session's name.
getName()
- Method in class client.framework.network.parser.
Action
Returns the action's name.
getName()
- Method in class server.brickblock.objects.
Powerup
Returns a three letter String representation of the power up object.
getName()
- Method in class server.brickblock.objects.
SizeUp
Returns a three letter String representation of the power up object.
getName()
- Method in class server.brickblock.objects.
SpeedUp
Returns a three letter String representation of the power up object.
getName()
- Method in class server.brickblock.objects.
StrengthUp
Returns a three letter String representation of the power up object.
getName()
- Method in class server.framework.models.
AbstractPlayer
getName()
- Method in class server.framework.models.
AbstractSession
getName()
- Method in enum server.framework.network.parser.
Action
getNofPlayers()
- Method in class client.framework.models.
Session
Returns the session's number of currently connected players.
getNumberOfPlayers()
- Method in class client.framework.models.
AbstractGame
Returns the number of players participating in the game.
getParser()
- Method in class client.framework.models.
AbstractGame
Returns the model's
MessageParser
implementation.
getParser()
- Method in class server.framework.models.
AbstractServer
getPlayer(Object)
- Method in class client.framework.models.
AbstractGame
Returns the player with the specified id.
getPlayerlist()
- Method in class client.framework.models.
AbstractGame
Returns a list containing the players currently connected to the game.
getPlayers()
- Method in class server.framework.models.
AbstractSession
getPosition()
- Method in class client.framework.models.
AbstractPlayer
Returns an array containing the player's x- and y-coordinate in that order.
getPosition()
- Method in class server.brickblock.objects.
Powerup
getPosition()
- Method in class server.framework.models.
AbstractPlayer
getPositionArray()
- Method in class server.framework.models.
AbstractPlayer
Returns an array containing the player's id and position.
getPowerUpName()
- Method in class client.brickblock.objects.
Powerup
Returns a three letter String representation of the power up object.
getPowerUpName()
- Method in class client.brickblock.objects.
SizeUp
Returns a three letter representation for this power up object.
getPowerUpName()
- Method in class client.brickblock.objects.
SpeedUp
Returns a three letter representation for this power up object.
getPowerUpName()
- Method in class client.brickblock.objects.
StrengthUp
Returns a three letter representation for this power up object.
getRemoteAddress()
- Method in class server.framework.network.
SocketWrapper
getReport(boolean)
- Method in class server.testmodules.
TestModule
Generates and returns the test report from the test results.
getScore()
- Method in class client.framework.models.
AbstractPlayer
Returns the player's score.
getScore()
- Method in class server.framework.models.
AbstractPlayer
getScreenResolution()
- Method in class client.framework.models.
AbstractPlayer
Returns an array containing the player's screen resolution.
getScreenResolution()
- Method in class server.framework.models.
AbstractPlayer
getScreenResolution()
- Method in class server.framework.models.
AbstractSession
getSelf()
- Method in class client.framework.models.
AbstractGame
Returns the local player representation.
getSender()
- Method in class client.framework.network.parser.
ActionTriplet
Returns the sender id.
getServer()
- Method in class server.framework.models.
AbstractSession
getSessionId()
- Method in class server.framework.models.
AbstractPlayer
getSessionPanel()
- Method in class server.framework.models.
AbstractSession
getSessions()
- Method in class client.framework.models.
AbstractGame
Returns a list of the found sessions.
getSetting(String)
- Static method in enum server.framework.models.
Setting
Used to find the enum with the specified name.
getSetting(Setting)
- Method in class server.framework.models.
SettingsList
Method used to get a setting's value.
getSettings()
- Method in class client.framework.models.
AbstractGame
Returns the list of active settings, where each setting is of the form
:
.
getSettings()
- Method in class server.framework.models.
AbstractSession
getSettings()
- Method in class server.framework.models.
SettingsList
getSettingsList()
- Method in class server.framework.models.
SettingsList
getSize()
- Method in class client.framework.models.
AbstractPlayer
Returns the size of the player's sprite.
getSize()
- Method in class client.framework.views.
GameView
Returns the size of the game board.
getSize()
- Method in class server.framework.models.
AbstractPlayer
getSocket()
- Method in class server.framework.models.
AbstractPlayer
getSocket()
- Method in class server.framework.network.
ServerSocketCommunicator
getSocket()
- Method in class server.framework.network.
SocketWrapper
getSpeed()
- Method in class client.framework.models.
AbstractPlayer
Returns the speed in which the player moves on the game board.
getSpeed()
- Method in class server.framework.models.
AbstractPlayer
getSprite()
- Method in class client.framework.models.
AbstractPlayer
Returns the player's sprite representation.
getStrength()
- Method in class client.brickblock.fwimpl.
BBPlayer
Returns the player's strength.
getStrength()
- Method in class server.brickblock.fwimpl.
BBPlayer
Returns the player's strength.
getStringToSend(int)
- Method in class server.testmodules.
PingTest
Creates the string to send.
getStringToSend(int)
- Method in class server.testmodules.
TestModule
Gets the String to send.
getStringToSend(int)
- Method in class server.testmodules.
TransferSpeedTest
Creates the string to send by appending the specified number of 'x' characters to the id and separator.
getTeam()
- Method in class client.framework.models.
AbstractPlayer
Returns the team that the player is member of, if any.
getTeam()
- Method in class server.framework.models.
AbstractPlayer
getTestType()
- Method in class server.framework.models.
AbstractServer
getTestType()
- Method in class server.framework.models.
AbstractSession
getTestType(String)
- Static method in enum server.testmodules.
TestModule.TestType
Gets the test type.
getText()
- Method in enum server.framework.models.
Setting
getThreeDigitString(long)
- Static method in class server.testmodules.
TestModule
Converts from a number to a string of three digits by filling in zeros before the number.
getTimeInSeconds(long)
- Static method in class server.testmodules.
TestModule
Converts from nanoseconds to seconds.
getTimeout()
- Method in class server.brickblock.objects.
Powerup
getTitle()
- Method in class server.testmodules.
PingTest
getTitle()
- Method in class server.testmodules.
TestModule
Gets the title for the report.
getTitle()
- Method in class server.testmodules.
TransferSpeedTest
getValues()
- Method in class client.brickblock.objects.
Powerup
Returns the attributes of the power up object.
getValues()
- Method in class client.framework.network.parser.
ActionTriplet
Returns the triplet's values.
getValues()
- Method in class server.framework.network.parser.
ActionPair
getView()
- Method in class client.framework.models.
AbstractGame
Returns the currently displayed view.
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
Q
R
S
T
U
V