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

P

paint(Graphics) - Method in class ctf.view.Double_buffered_canvas
Unless a redraw has been triggered paint simply brings forward the existing offscreen image
paintComponents(Graphics) - Method in class ctf.view.Console.ConsoleFrame
 
parse(String[]) - Static method in class ctf.evaluation.simulator.responses.TreesResponse
Parse a Trees response (package-visible for testing purposes)
parseFloat(String) - Static method in class ctf.evaluation.STEAL
Parse a STEAL floating-point number
parseFromString(String) - Static method in class ctf.evaluation.Point
 
parseInt(String) - Static method in class ctf.evaluation.STEAL
Parse a STEAL integer
place(Connection, Point) - Method in class ctf.evaluation.simulator.setup.PlaceFlag
Place a flag at a specific point
place(Connection, double, double) - Method in class ctf.evaluation.simulator.setup.PlaceFlag
Place a flag at an (x,y) location
place(Connection, Point) - Method in class ctf.evaluation.simulator.setup.PlaceTrees
Place a tree at a specific point
place(Connection, double, double) - Method in class ctf.evaluation.simulator.setup.PlaceTrees
Place a tree at a specific (x,y) location
placeFlag(Point) - Method in class ctf.evaluation.simulator.CLI
 
placeFlag(Connection, Point) - Method in class ctf.evaluation.simulator.DualController
 
PlaceFlag - Class in ctf.evaluation.simulator.setup
Tests the 'PlaceFlag' state
PlaceFlag() - Constructor for class ctf.evaluation.simulator.setup.PlaceFlag
 
PlacementResponse - Class in ctf.evaluation.simulator.responses
A response to a command
PlacementResponse(Connection) - Constructor for class ctf.evaluation.simulator.responses.PlacementResponse
 
placeNormal(Connection, Side) - Method in class ctf.evaluation.simulator.setup.PlaceTrees
Place one side's trees in the standard locations
placeTree(Point) - Method in class ctf.evaluation.simulator.CLI
 
placeTree(Connection, Point) - Method in class ctf.evaluation.simulator.DualController
 
PlaceTrees - Class in ctf.evaluation.simulator.setup
Tests the 'PlaceTrees' state
PlaceTrees() - Constructor for class ctf.evaluation.simulator.setup.PlaceTrees
 
Play - Class in ctf.evaluation.simulator.play
Tests the 'Play' state
Play() - Constructor for class ctf.evaluation.simulator.play.Play
 
Player - Class in ctf.evaluation.simulator.data
Represents an individual player
Player(String[]) - Constructor for class ctf.evaluation.simulator.data.Player
 
player(int) - Method in class ctf.evaluation.simulator.data.Team
 
Player.State - Enum in ctf.evaluation.simulator.data
 
playerInfo(Side) - Method in class ctf.view.FieldViewTester
 
playerInfo(GameInterface.Side) - Method in interface ctf.view.GameInterface
Position, orientation for all players on a team
playerInfo(Side) - Method in interface ctf.view.GameViewInterface
Position, orientation for all players on a team
PlayerPositions - Class in ctf.evaluation.simulator.play
Tests basic movement of players
PlayerPositions() - Constructor for class ctf.evaluation.simulator.play.PlayerPositions
 
playerRadius() - Method in class ctf.view.FieldViewTester
 
playerRadius() - Method in interface ctf.view.GameInterface
The radius of each player (in metres)
playerRadius() - Method in interface ctf.view.GameViewInterface
The radius of each player (in metres)
PLAYERS - Static variable in class ctf.evaluation.simulator.data.Team
 
PLAYERS - Static variable in class ctf.evaluation.StandardLocations
 
players(Side) - Static method in class ctf.evaluation.StandardLocations
Standard player locations
PLAYERS_PER_TEAM - Static variable in class ctf.evaluation.STEAL
 
PlayTestCase - Class in ctf.evaluation.simulator.play
 
PlayTestCase() - Constructor for class ctf.evaluation.simulator.play.PlayTestCase
 
Point - Class in ctf.evaluation
Represents a point on the field
Point(double, double) - Constructor for class ctf.evaluation.Point
 
Point(float, float) - Constructor for class ctf.evaluation.Point
 
position() - Method in interface ctf.view.GameInterface.PlayerInfo
A player's location on the field
position() - Method in interface ctf.view.GameViewInterface.PlayerInfo
A player's location on the field
print(String) - Method in class ctf.Log
 
println(Object, String) - Method in class ctf.Log
Print a string to the log, recording who printed it
println(String) - Method in class ctf.Log
 
println(Object, Throwable) - Method in class ctf.Log
Print out an exception or error
println(Throwable) - Method in class ctf.Log
Print out an exception or error
printRow() - Method in class ctf.Log
Print a dividing row
ProtocolError - Exception in ctf.network
An error in the protocol was detected
ProtocolError(String, String) - Constructor for exception ctf.network.ProtocolError
Default constructor.
ProtocolError(String, String[]) - Constructor for exception ctf.network.ProtocolError
Default constructor.

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