Index

A B C D I K M P R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

actionPerformed(ActionEvent) - Method in class SBSRModelControl
Overrides action listener and check things like button presses

B

blnClientReady - Variable in class SBSRModelControl
Checks to see if the client is ready
blnConnect - Variable in class SBSRModelControl
Checks to see if the user is connected to a server.
blnDemo - Variable in class SBSRModelControl
Communicates to the code whether the player is in demo mode
blnHost - Variable in class SBSRModelControl
Used to see who is host for extra privileges
blnHostReady - Variable in class SBSRModelControl
Checks to see if the host is ready
blnjump - Variable in class SBSRModelControl
Used to see if jumping or not

C

checkPlay() - Method in class SBSRModelControl
Used to check if both players are ready so game can begin
connect(String, String, String) - Method in class SBSRModelControl
Method used to host and connect client to host

D

dblCharacterDefX - Variable in class SBSRModelControl
Character displacement in X
dblCharacterDefY - Variable in class SBSRModelControl
Character displacement in Y

I

intClientCharacter - Variable in class SBSRModelControl
Sets which character the client is
intEndY - Variable in class SBSRModelControl
Integer value for the y-coordinate component denoting the bottom point of the pole
intHostCharacter - Variable in class SBSRModelControl
Sets which character the host is
intJumpCooldown - Variable in class SBSRModelControl
Cooldown for jump
intNumPlayers - Variable in class SBSRModelControl
Used to count the number of players
intPlayersReady - Variable in class SBSRModelControl
The number of players ready
intRaceTime - Variable in class SBSRModelControl
Timer to count the seconds it takes for players to reach end of map

K

keyPressed(KeyEvent) - Method in class SBSRModelControl
Checks which keys are pressed and excecutes code such as movement depending on which key is pressed
keyReleased(KeyEvent) - Method in class SBSRModelControl
Checks keys released and stops player movement
keyTyped(KeyEvent) - Method in class SBSRModelControl
Checks which key is typed and focuses back to animation panel when enter is typed

M

main(String[]) - Static method in class SBSRModelControl
Executing main program

P

playerDied(String) - Method in class SBSRModelControl
Method to run when player dies
playerReachedEnd(String) - Method in class SBSRModelControl
Method to run when player reaches the end

R

RaceTimer - Variable in class SBSRModelControl
Timer that runs every second to count how long character takes to reach the end

S

SBSRModelControl - Class in Unnamed Package
 
SBSRModelControl(SBSRViewTest) - Constructor for class SBSRModelControl
Adding action listeners from the view
strClientUsername - Variable in class SBSRModelControl
The name the client enters in connection process
strConnectionResult - Variable in class SBSRModelControl
Tells user things like host/client status and errors in the connection process when connect buton is pressed
strHostUsername - Variable in class SBSRModelControl
The name the host enters in connection process
strIp - Variable in class SBSRModelControl
The IP of the computer
strPort - Variable in class SBSRModelControl
Port of the computer
strResult - Variable in class SBSRModelControl
The result of the connection method
strUsername - Variable in class SBSRModelControl
The entered username

T

theTimer - Variable in class SBSRModelControl
Timer that runs 60fps Animations
A B C D I K M P R S T 
All Classes and Interfaces|All Packages|Serialized Form