Index
All Classes and Interfaces|All Packages|Serialized Form
S
- S - Class in drawing.letters.alphabet
-
This is the object "S" which implements the Letter class.
- S() - Constructor for class drawing.letters.alphabet.S
-
The constructor assigns the letter "S" to character.
- sendDataPacket(String) - Static method in class client.SingleClient
-
Sends a piece of data that is passed as a string.A packet is constructed from the string and then sent via the client.
- sendJoin() - Method in class client.Client
-
Sends a join message to the server (just username).
- sendJoinMessage() - Method in class client.Client
-
The sendMessage method uses the console to take in messages from the user.Also sends the username of the username at the first to get initialized as a user on the server.
- sendJoinPacket(Packet) - Method in class client.Client
-
Sends a packet to the server through the buffered writer.Also sends the username so the client can be initialised on the server.
- sendMessage() - Method in class client.Client
-
The send message function sends a message to the server.The user's message is first converted into a Packet then JadeObject then a serialized string.
- sendPacket(Packet) - Method in class client.Client
-
Sends a packet to the server.Similarly to the sendMessage the packet is converted to a JadeObject then serialized to a string.
- sendPacket(Packet) - Static method in class client.SingleClient
-
Sends a packet via the clients sendPacket() method.
- sendStatePacket(States) - Static method in class client.SingleClient
-
Sends a state via a packet which is constructed and sent via the client.
- Sensors - Class in robot
-
Stores the sensors used by the robot.
- serializeObjectToFile(JadeObject, String) - Method in class jade.JadeSerializer
-
This method, serializeObjectToFile, writes a JadeObject to a given directory.Depending on whether pretty printing is enabled or not the structure of the file may look different.The changed structure does not affect the functionality of any of the JadeSystems.
- serializeObjectToString(JadeObject) - Method in class jade.JadeSerializer
-
This method, serializeObjectToString, creates a string from a given JadeObject.The structure of the string may also vary depending on pretty printing but not affect its functionality.
- setCharacter(char) - Method in class drawing.Tile
-
Sets the character
- setCheckSum(String) - Method in class client.Packet
-
Sets the check sum of this.
- setCurrentGuess(char) - Static method in class behaviors.BehaviorData
-
Changes the value of currentGuess.
- setData(String) - Method in class client.Packet
-
Sets the data of this.
- setDirectory(String) - Method in class util.ReadFile
-
Sets the directory.
- setExititng(boolean) - Static method in class behaviors.BehaviorData
-
Changes the value of exit.
- setFirst(String) - Method in class jade.JadePair
-
Sets the value of the first variable.
- setFirst(T) - Method in class jade.JadePrimitivePair
-
Sets the value of first.
- setGameWon(boolean) - Static method in class behaviors.BehaviorData
-
Changes the value of gameWon.
- setLatestPacket(Packet) - Method in class client.Client
-
Sets the latest packet of the client.
- setLatestPacket(Packet) - Static method in class client.SingleClient
-
Sets the value of the latest packet from the server.
- setOffset(int) - Method in class drawing.Tile
-
Sets the offset
- setPermanentTachoCount(int) - Static method in class behaviors.BehaviorData
-
Changes the value of the permanenTachoCount.
- setPrettyPrinting(boolean) - Method in class jade.JadeSerializer
-
Sets the value of prettyPrinting.
- setReciever(String) - Method in class client.Packet
-
Sets the reciever of this.
- setSecond(String) - Method in class jade.JadePair
-
Sets the value of the second variable.
- setSecond(V) - Method in class jade.JadePrimitivePair
-
Sets the value of second.
- setSender(String) - Method in class client.Packet
-
Sets the sender of this.
- setState(States) - Static method in class robot.StateHandler
-
Sets the current state.
- setTachoCount(int) - Static method in class behaviors.BehaviorData
-
Changes the value of tachoCount.
- setTiles(Tile[]) - Static method in class behaviors.BehaviorData
-
Changes the value of tileArray
- setType(String) - Method in class client.Packet
-
Sets the type of this.
- setWordToGuess(String) - Static method in class behaviors.BehaviorData
-
Changes the current value of wordToGuess.
- SingleClient - Class in client
-
The SingleClient acts as a singleton that interacts with a single instance of a Client object.
- Stage - Interface in drawing.hangman
-
This is the interface for Stage obejcts.
- START_UP - Enum constant in enum class robot.States
-
Start Up
- startConnection() - Method in class client.Connect
-
The startConnection method uses the IP, port and username given from the constructor.These are used within the creation of a new Client and Socket object.
- StartUp - Class in behaviors
-
Creates the board for the user to play the game of hangman on.
- StartUp() - Constructor for class behaviors.StartUp
-
Constructor for startup initializes objects and gets a word to be guessed.Also assigns things in behavior data.
- StateHandler - Class in robot
-
Stores the current state the robot and handles some of its behavior.
- StateHandler() - Constructor for class robot.StateHandler
-
When initialized state is set to WELOME.
- States - Enum Class in robot
-
Enum used to store the different states of the robot.
- stop() - Method in class robot.Arbitrator
- suppress() - Method in class behaviors.BackUp
-
Suppress function does nothing here.
- suppress() - Method in class behaviors.BatteryLevel
-
Suppress function does nothing here.
- suppress() - Method in class behaviors.Connecting
-
Suppress function does nothing here.
- suppress() - Method in class behaviors.Drawing
-
Suppress function does nothing here.
- suppress() - Method in class behaviors.EmergencyStop
-
Suppress function does nothing here.
- suppress() - Method in class behaviors.Exit
-
Suppress does nothing in Exit.
- suppress() - Method in class behaviors.Finished
-
Empty suppress for Finished.
- suppress() - Method in class behaviors.Guessing
-
Uses surpress to exit the loop at times.
- suppress() - Method in class behaviors.GyroBeeping
-
Empty surpress for GyroBeeping.
- suppress() - Method in class behaviors.StartUp
-
Empty surpress StartUp.
- suppress() - Method in class behaviors.Welcome
-
Empty suppress for Welcome.
- Symbol - Interface in drawing.other
-
Interface for drawing a Symbol to abstract the implementers.
- Symbols - Enum Class in drawing.other
-
Enum to store different Symbols
All Classes and Interfaces|All Packages|Serialized Form