Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actionTimeRemaining() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
actionTimeRemainingrecord component. - addAndSetCurrentRobot(ClientRobot) - Method in class za.co.wethinkcode.robots.client.memory.Memory
-
Add and automatically set a new
ClientRobotthat commands will be sent from - addLookObjectDetails(String, String) - Static method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Deprecated.
- addObstacle(Position) - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- addObstacleToMap(Obstacle, Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Add a
Obstaclesomewhere on the map - addRobot(Robot) - Method in class za.co.wethinkcode.robots.server.world.World
-
Shallow call to
WorldMap.addRobot(Robot) - addRobot(Robot) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Find the spawn of a robot, if viable, and add
- addRobotAt(Robot, Position) - Method in class za.co.wethinkcode.robots.server.world.World
-
Adds a robot to the world at an exact position, preserving whatever shields/shots/status it already carries.
- addRobotLegacy(Robot) - Method in class za.co.wethinkcode.robots.server.world.World
-
Deprecated.
- addRobotLegacy(Robot, Position) - Method in class za.co.wethinkcode.robots.server.world.World
- addRobotToMap(Robot, Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- addWorldKnowledge(JsonObject) - Method in class za.co.wethinkcode.robots.client.memory.Memory
-
Accept the input of a World Command.
- ANSI_BACK_UP - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
: Moves the cursor up by one line.
- ANSI_BLINK - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Makes text blink
- ANSI_BLUE - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Renders text in blue.
- ANSI_BOLD - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Turns text into bold
- ANSI_CLEAR_LINE - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
: Clears the current line completely.
- ANSI_DEFAULT_BG - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Background of the terminal is reset
- ANSI_GREEN - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Renders text in green.
- ANSI_GREEN_BG - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Background of text is set to green
- ANSI_ITALICS - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
: Turns text into italics
- ANSI_RED - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Renders text in red.
- ANSI_RED_BG - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Background of text is set to green
- ANSI_RESET - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Resets a style back to default
- ANSI_START_OF_LINE - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
: Returns the cursor to the start of the current line to overwrite
- ANSI_STRIKETHROUGH - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Allows text to be struck through
- Ansi_Styling - Enum Class in za.co.wethinkcode.robots.rendering
-
Nested Enum of ansi escape characters to make rendering more discoverable
- ANSI_YELLOW - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Renders text in yellow.
- ANSI_YELLOW_BG - Enum constant in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Background of text is set to yellow
- APOLLO - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Apollo the Scout bot.
- applyMuteFlag(String[]) - Method in class za.co.wethinkcode.robots.client.Client
-
Apply the mute flag from CLI args: disables all audio for testing/headless.
- applyTo(WorldConfig) - Method in class za.co.wethinkcode.robots.cli.ServerOptions
B
- back - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Back command moves a
Robotbackwards - BackCommand - Class in za.co.wethinkcode.robots.server.commands.external
- BackCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.BackCommand
-
Overload command constructor
- BackCommand(String, int) - Constructor for class za.co.wethinkcode.robots.server.commands.external.BackCommand
- BeyondBoundryException - Exception Class in za.co.wethinkcode.robots.errors
- BeyondBoundryException() - Constructor for exception class za.co.wethinkcode.robots.errors.BeyondBoundryException
- BeyondBoundryException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.BeyondBoundryException
- BG_DARK - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- BLOCKED - Static variable in class za.co.wethinkcode.robots.rendering.ServerRenderer
- blocksSightline() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
This check returns if the WorldObject in question blocks the sightline
- blocksSightline() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
-
This check returns if the WorldObject in question blocks the sightline
- blocksSightline() - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
- blocksSightline() - Method in class za.co.wethinkcode.robots.server.world.WorldEdge
-
This check returns if the WorldObject in question blocks the sightline
- blocksSightline() - Method in interface za.co.wethinkcode.robots.server.world.WorldObject
-
This check returns if the WorldObject in question blocks the sightline
- BOOM - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Little bomber
- BORDER_ACCENT - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- BORDER_INNER - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- BORDER_OUTER - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- bottomRight() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns the value of the
bottomRightrecord component. - Brick(Position) - Constructor for record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
-
Creates an instance of a
Brickrecord class.
C
- cleanForNetworkJSONtoJSON(JsonObject) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Simple utility method to clean Json Objects for transmission.
- cleanForNetworkRaw(String) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Simple utility method to clean raw strings up for transmission over a network
- cleanForPrinting(String) - Static method in class za.co.wethinkcode.robots.client.networking.ClientNetworkInput
-
Clean the input coming in over the network
- cleanRawInput(String) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
-
Clean a raw string input and validate it to be sent over the network
- clear() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- clearForTesting() - Method in class za.co.wethinkcode.robots.server.world.World
- Client - Class in za.co.wethinkcode.robots.client
- Client(InputStream, String[]) - Constructor for class za.co.wethinkcode.robots.client.Client
- CLIENT - Enum constant in enum class za.co.wethinkcode.robots.cli.help.HelpTopic
- ClientAPI - Class in za.co.wethinkcode.robots.api
-
The Client API class provides generic methods for interacting with the Robot Worlds API as a client
- ClientAPI() - Constructor for class za.co.wethinkcode.robots.api.ClientAPI
- clientCausedError(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Rendering designed for notifying the user that they have made an error
- ClientConnectionException - Exception Class in za.co.wethinkcode.robots.errors
-
All Exceptions related to the client connecting to the server (especially with regards to the
ConnectedClientare handled by this class - ClientConnectionException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.ClientConnectionException
- ClientControlledRobot - Class in za.co.wethinkcode.robots.server.robots
-
A subclass of the domain object robot that is specifically controlled by a client
- ClientControlledRobot(String, RobotKind, ClientID) - Constructor for class za.co.wethinkcode.robots.server.robots.ClientControlledRobot
-
Constructor for a robot controlled by a client.
- ClientHandler - Class in za.co.wethinkcode.robots.client
- ClientHandler(Socket, Memory) - Constructor for class za.co.wethinkcode.robots.client.ClientHandler
-
Create an Input and Output Stream from a socket.
- ClientHelpCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
Displays help information for commands available to the Robot World client.
- ClientHelpCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Overload command constructor
- ClientID - Record Class in za.co.wethinkcode.robots.server.networking
-
Record class of a client's ID.
- ClientID(String) - Constructor for record class za.co.wethinkcode.robots.server.networking.ClientID
-
Creates an instance of a
ClientIDrecord class. - ClientLaunchHelpProvider - Class in za.co.wethinkcode.robots.cli.help
-
Renders launch help for the Robot World client, sourcing the actual command from the
clientMakefile target where possible. - ClientLaunchHelpProvider() - Constructor for class za.co.wethinkcode.robots.cli.help.ClientLaunchHelpProvider
- ClientLaunchHelpProvider(MakefileRecipeReader) - Constructor for class za.co.wethinkcode.robots.cli.help.ClientLaunchHelpProvider
- ClientMemoryException - Exception Class in za.co.wethinkcode.robots.errors
-
Errors related to the state of the client's persistent memory.
- ClientMemoryException() - Constructor for exception class za.co.wethinkcode.robots.errors.ClientMemoryException
- ClientMemoryException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.ClientMemoryException
- ClientNetworkInput - Class in za.co.wethinkcode.robots.client.networking
-
The abstracted networking component of the input into a client
- ClientNetworkInput(Socket) - Constructor for class za.co.wethinkcode.robots.client.networking.ClientNetworkInput
- ClientNetworkOutput - Class in za.co.wethinkcode.robots.client.networking
-
The abstracted networking component of the output of a client
- ClientNetworkOutput(OutputStream) - Constructor for class za.co.wethinkcode.robots.client.networking.ClientNetworkOutput
-
Standard constructor of a client's output
- ClientOptions - Class in za.co.wethinkcode.robots.cli
-
Picocli command model for the client.
- ClientOptions() - Constructor for class za.co.wethinkcode.robots.cli.ClientOptions
- ClientQuitCommand - Class in za.co.wethinkcode.robots.server.commands.external
- ClientQuitCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
-
Overload command constructor
- ClientQuitCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
- ClientRobot - Class in za.co.wethinkcode.robots.client
-
This class stores the representation of the robot for a client
- ClientRobot(InputParser, JsonObject) - Constructor for class za.co.wethinkcode.robots.client.ClientRobot
-
Construct a client from the response given by a server
- ClientTextRenderer - Class in za.co.wethinkcode.robots.rendering
-
This class encapsulates all rendering behavior on the client
- ClientTextRenderer() - Constructor for class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- CliParser - Class in za.co.wethinkcode.robots.cli
-
Shared Picocli adapter used by the Robot World startup entry points.
- CliParser(Object) - Constructor for class za.co.wethinkcode.robots.cli.CliParser
- close() - Method in class za.co.wethinkcode.robots.client.networking.ClientNetworkInput
- close() - Method in class za.co.wethinkcode.robots.client.networking.ClientNetworkOutput
-
Close a client's connection
- close() - Method in class za.co.wethinkcode.robots.server.networking.ServerOutput
-
Close an output
- command() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Returns the value of the
commandrecord component. - Command - Class in za.co.wethinkcode.robots.server.commands
-
Every command follows this same pattern: It receives a robot name and arguments It runs against the world It returns a result string
- Command(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.Command
-
Overload command constructor
- Command(String) - Constructor for class za.co.wethinkcode.robots.server.commands.Command
-
Required command constructor
- CommandFactory - Class in za.co.wethinkcode.robots.server.commands
-
Factory responsible for constructing concrete
Commandinstances from a parsedCommandRequest. - CommandFactory(ClientID) - Constructor for class za.co.wethinkcode.robots.server.commands.CommandFactory
-
Creates a command factory associated with a specific client connection.
- commandInput - Variable in class za.co.wethinkcode.robots.rendering.gui.ui.DialogueConsole
- CommandRequest - Class in za.co.wethinkcode.robots.server.commands
-
Data Transfer Object (DTO) representing a client command request.
- CommandRequest() - Constructor for class za.co.wethinkcode.robots.server.commands.CommandRequest
- ConfigLoader - Class in za.co.wethinkcode.robots.server.config
- ConfigLoader() - Constructor for class za.co.wethinkcode.robots.server.config.ConfigLoader
- configure(JavalinConfig, WorldApiHandler) - Method in class za.co.wethinkcode.robots.webapi.WorldApiServer
- connect(String, int) - Method in interface za.co.wethinkcode.robots.client.RobotWorldClient
-
Connects to the Robot Worlds server on specified ip address and port
- connect(String, int) - Method in class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- ConnectedClient - Class in za.co.wethinkcode.robots.server.networking
-
This class encapsulates all the behaviour of a single connected client
- ConnectedClient(Socket, World) - Constructor for class za.co.wethinkcode.robots.server.networking.ConnectedClient
-
Standard constructor for a Connected Client
- connection() - Method in class za.co.wethinkcode.robots.cli.ClientOptions
- connection() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- ConnectionOptions - Class in za.co.wethinkcode.robots.cli
-
Host and port syntax shared by the client and server.
- ConnectionOptions() - Constructor for class za.co.wethinkcode.robots.cli.ConnectionOptions
- connectToServerTicket(WorldConfig, String) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Renders the connect to server ticket display based on an IP address invalid input: '&' config
- contains(Position) - Method in class za.co.wethinkcode.robots.server.world.Pit
- create(CommandRequest) - Static method in class za.co.wethinkcode.robots.server.commands.CommandFactory
-
Creates the appropriate concrete
Commandfrom a parsed client request. - createRequest(InputParser, Memory) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
-
Create a formatted api request as a client
- createRequestRaw(String, InputParser) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
-
Deprecated.
- customPrintln(OutputStream, String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
- customPrintln(OutputStream, String, String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Custom implementation of println that can route to external outputs if needed
D
- DANGER_RED - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- DangerousObject - Interface in za.co.wethinkcode.robots.server.world
-
Classes that implement the
DangerousObjectcan cause harm to aRobot - dbg - Static variable in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Standard debug level unless reassigned
- dbg - Static variable in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Standard debug level unless reassigned
- dbg - Static variable in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Standard output unless reassigned
- dbgLvl() - Method in class za.co.wethinkcode.robots.cli.RenderingOptions
- DEAD - Enum constant in enum class za.co.wethinkcode.robots.domain.Status
-
A dead robot cannot act ever again
- debugLevel() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- DebugLevel - Enum Class in za.co.wethinkcode.robots.cli
-
Explicitly set the debug level of the renderer
- DEFAULT_IP_ADDRESS - Static variable in class za.co.wethinkcode.robots.server.config.WorldConfig
-
Default bind address that allows connections through any network interface.
- DEFAULT_WORLD_NAME - Static variable in class za.co.wethinkcode.robots.server.commands.internal.RestoreCommand
- DEFAULT_WORLD_NAME - Static variable in class za.co.wethinkcode.robots.server.commands.internal.SaveCommand
- defaults() - Static method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
The default rules used when a world does not configure any.
- defineCommand(String, ClientID) - Method in class za.co.wethinkcode.robots.server.commands.ExternalCommandSwitcher
-
Take in the raw string input from a client and return out an
ExternalCommand - DELIMITER - Static variable in class za.co.wethinkcode.robots.api.ServerAPI
-
Custom delimiter used to send multiple new line characters over the network.
- description() - Method in record class za.co.wethinkcode.robots.domain.HelpStruct
-
Returns the value of the
descriptionrecord component. - DialogueConsole - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
Deltarune-style 8-bit Dialogue Box and Command Console for Robot Worlds.
- DialogueConsole() - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.DialogueConsole
- dimensions() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
dimensionsrecord component. - direction() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
directionrecord component. - direction() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
directionrecord component. - Direction - Enum Class in za.co.wethinkcode.robots.domain
-
This enum encodes the cardinal directions of the world.
- disconnect() - Method in interface za.co.wethinkcode.robots.client.RobotWorldClient
-
Disconnect from server
- disconnect() - Method in class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- disconnectRobotsFromClientId(ClientID) - Method in class za.co.wethinkcode.robots.server.world.World
-
Take in a
ClientIDand remove all bots from the server associated with this clientID - dump - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- DumpCommand - Class in za.co.wethinkcode.robots.server.commands.internal
- DumpCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.DumpCommand
E
- EAST - Enum constant in enum class za.co.wethinkcode.robots.domain.Direction
- EndExecutionException - Exception Class in za.co.wethinkcode.robots.errors
- EndExecutionException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.EndExecutionException
- enterServerCommand() - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Prompt message for a Server Command to be entered
- equals(Object) - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.domain.HelpStruct
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.networking.ClientID
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class za.co.wethinkcode.robots.server.world.Position
- ERR - Enum constant in enum class za.co.wethinkcode.robots.cli.DebugLevel
-
Only Error logs
- error(Exception) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Return an Error From an exception
- error(String) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Takes in an error message and wraps into a JSON structured error
- error(PurgedRobotException) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Overload to send back a specific error message for the custom
UnsupportedRobotWorldCommandexception - error(RobotCannotActException) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Overload to send back a specific error message for the custom
RobotCannotActException - error(TooManyOfYouException) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Overload to send back a specific error message for the custom
TooManyOfYouExceptionexception - error(UnsupportedRobotWorldCommand) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Overload to send back a specific error message for the custom
UnsupportedRobotWorldCommandexception - error(WorldFullException) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Overload to send back a specific error message for the custom
TooManyOfYouExceptionexception - execute() - Method in class za.co.wethinkcode.robots.server.commands.internal.ServerHelpCommand
-
Standard execution for the server help command
- execute(Memory, String) - Method in class za.co.wethinkcode.robots.client.commands.SwapClientCommand
- execute(Memory, ClientRobot) - Method in class za.co.wethinkcode.robots.client.commands.SwapClientCommand
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.Command
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.BackCommand
-
Modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.FireCommand
-
Modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.RepairCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.StateCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.TurnCommand
-
Modern a modern OO implementation of the execute method
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.internal.DumpCommand
-
Dump calls
DumpCommand.formatDumpString(World)internally, then makes a shallow call toServerRenderer - execute(World) - Method in class za.co.wethinkcode.robots.server.commands.internal.PurgeCommand
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.internal.RobotsCommand
- execute(World) - Method in class za.co.wethinkcode.robots.server.commands.internal.ServerQuitCommand
- execute(World, WorldRepository, String) - Method in class za.co.wethinkcode.robots.server.commands.internal.RestoreCommand
- execute(World, WorldRepository, String) - Method in class za.co.wethinkcode.robots.server.commands.internal.SaveCommand
- execute(World, WorldRepository, Supplier<Boolean>, String) - Method in class za.co.wethinkcode.robots.server.commands.internal.RestoreCommand
- executeCommand(Command) - Method in class za.co.wethinkcode.robots.server.SingleThreadConnection
-
Takes in a
Commandand executes it. - executeOld(Memory) - Method in class za.co.wethinkcode.robots.client.commands.SwapClientCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.Command
-
Each command must implement this method It does the work and returns a result
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.BackCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Each command must implement this method It does the work and returns a result
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.FireCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Deprecated.
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.RepairCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.StateCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.TurnCommand
- executeToString(World) - Method in class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- exists(String) - Method in class za.co.wethinkcode.robots.server.persistence.SqliteWorldRepository
-
Checks if a world with the specified name exists in the database.
- exists(String) - Method in interface za.co.wethinkcode.robots.server.persistence.WorldRepository
- ExploredWorld - Class in za.co.wethinkcode.robots.client.memory
- ExploredWorld() - Constructor for class za.co.wethinkcode.robots.client.memory.ExploredWorld
- ExternalCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
Abstract class of commands external to server, typically from clients
- ExternalCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ExternalCommand
-
Overload command constructor
- ExternalCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ExternalCommand
-
Required command constructor
- ExternalCommandSwitcher - Class in za.co.wethinkcode.robots.server.commands
-
The Command Switcher class more elegantly responds to incoming command requests in a polymorphic way.
- ExternalCommandSwitcher() - Constructor for class za.co.wethinkcode.robots.server.commands.ExternalCommandSwitcher
- extractMessage(String) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
F
- FILLER_SYMBOL - Static variable in class za.co.wethinkcode.robots.rendering.ServerRenderer
- findRandomValidPosition(Random, int) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Searches for a random position that is valid for a robot to occupy
- findRobot(World) - Method in class za.co.wethinkcode.robots.server.commands.Command
-
Helper: look up the robot in the world
- fire - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
fire command fires a bullet from a
Robotwith a gun - FireCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
Fire Command - fires a bullet in the direction the robot is facing.
- FireCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.FireCommand
-
Construct a fire command from the incoming JSON
- FireCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.FireCommand
- FOG_OVERLAY - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- formatBotSelection(Memory) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- formatConnectToServerTicker(WorldConfig, String) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
- formatDumpString(World) - Method in class za.co.wethinkcode.robots.server.commands.internal.DumpCommand
-
Take in a World and return the appropriately formatted dump string
- formatHelp() - Method in class za.co.wethinkcode.robots.server.commands.internal.ServerHelpCommand
-
String formatting for the server help command
- formatLastResponse(RequestResponse) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Format the last response the client received to be pretty printed
- formatLook(JsonObject) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- formatResponse(String) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
- formatWorldToWorldMap(World) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Formatter for the whole world
- formatWorldWithinConstraints(Position, World) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
- forward - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
forward command moves a
Robotforwards - ForwardCommand - Class in za.co.wethinkcode.robots.server.commands.external
- ForwardCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
-
Overload command constructor
- ForwardCommand(String, int) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
- fromArgument(String) - Static method in enum class za.co.wethinkcode.robots.cli.help.HelpTopic
-
Resolves a raw CLI argument (e.g.
- fromCommand(WorldRepository, String) - Method in class za.co.wethinkcode.robots.server.commands.internal.RestoreCommand
- fromJson(JsonObject) - Static method in record class za.co.wethinkcode.robots.client.memory.State
G
- GameWindow - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
GameWindow encapsulates the main 8-bit / 16-bit retro layout of the Robot World Client.
- GameWindow(Client) - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- generateClientId(World, Socket) - Static method in class za.co.wethinkcode.robots.server.networking.ConnectedClient
- getAliases() - Method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
The available aliases of an implemented Client Command
- getAll() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- getAllArgs() - Method in class za.co.wethinkcode.robots.client.InputParser
- getAllObstacles() - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- getAllPurgedRobots() - Method in class za.co.wethinkcode.robots.server.world.World
- getAllRobots() - Method in class za.co.wethinkcode.robots.server.world.World
- getAllRobotsAndNames() - Method in class za.co.wethinkcode.robots.server.world.World
- getAllWorldObjects() - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- getAmmo() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Getter for this robot's ammunition
- getArg(int) - Method in class za.co.wethinkcode.robots.client.InputParser
- getArgs() - Method in class za.co.wethinkcode.robots.server.commands.external.ExternalCommand
-
Getter for the args of an external command
- getArguments() - Method in class za.co.wethinkcode.robots.server.commands.CommandRequest
-
Returns the arguments supplied for the command.
- getBlockedTile() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getBottomRight() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- getBottomRight() - Method in class za.co.wethinkcode.robots.server.world.Pit
- getClient() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- getClientIcon() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
- getClientID() - Method in class za.co.wethinkcode.robots.server.networking.ConnectedClient
- getClientOptions() - Method in class za.co.wethinkcode.robots.client.Client
- getCode() - Method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
- getCommand() - Method in class za.co.wethinkcode.robots.client.InputParser
-
Returns the command name e.g.
- getCommand() - Method in class za.co.wethinkcode.robots.server.commands.CommandRequest
-
Returns the command requested by the client.
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.BackCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.ExternalCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.FireCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.RepairCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.StateCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.TurnCommand
-
Return which client command this command implements
- getCommandName() - Method in class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- getCurrentRobot() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- getCurrentShots() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getCurrentWorld(Context) - Method in class za.co.wethinkcode.robots.webapi.WorldApiHandler
-
GET /world Returns the currently running world as JSON.
- getCustomObstacles() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getCustomPits() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getDamage() - Method in enum class za.co.wethinkcode.robots.server.robots.MineType
- getDeltaX() - Method in enum class za.co.wethinkcode.robots.domain.Direction
-
Return the change in the X axis that this direction represents
- getDeltaY() - Method in enum class za.co.wethinkcode.robots.domain.Direction
-
Return the change in the Y axis that this direction represents
- getDirection() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getError() - Method in class za.co.wethinkcode.robots.client.InputParser
-
Returns the error message if the command was invalid, otherwise null
- getErrorMessage() - Method in enum class za.co.wethinkcode.robots.domain.Status
- getFogTile() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getFont(double) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- getGroundTile(int) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getGuiCommand() - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
-
Get the currently entered GUI command, clearing input and playing matching sound effect.
- getHeight() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getHeight() - Method in class za.co.wethinkcode.robots.server.world.World
- getHelp() - Method in enum class za.co.wethinkcode.robots.cli.DebugLevel
- getHelpInfo() - Method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
How this command is intended to be called e.g.
- getHelpInfo() - Method in enum class za.co.wethinkcode.robots.domain.ResponseKind
- getHelpInfo() - Method in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- getIpAddress() - Method in class za.co.wethinkcode.robots.client.Client
- getIpAddress() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
-
Returns the configured server bind address, falling back to
WorldConfig.DEFAULT_IP_ADDRESSwhen no usable value was supplied. - getKind() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getKindName() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getLastMine() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getLastReloaded() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getLastRepaired() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getLastRequestResponse() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- getLastResponse() - Method in class za.co.wethinkcode.robots.client.memory.Memory
-
Return the last response from the server
- getMap() - Method in class za.co.wethinkcode.robots.server.world.World
- getMaxShields() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getMaxShields() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getMaxShields() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getMaxShields() - Method in class za.co.wethinkcode.robots.server.world.World
- getMaxShots() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getMaxShots() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getMaxShots() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getMaxShots() - Method in class za.co.wethinkcode.robots.server.world.World
- getMazeType() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getMemory() - Method in class za.co.wethinkcode.robots.client.Client
- getMemory() - Method in class za.co.wethinkcode.robots.client.ClientHandler
-
Simpler getter for
ClientHandler.memory - getMineTile(String) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getMineTime() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getMineTime() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getMineTime() - Method in class za.co.wethinkcode.robots.server.world.World
- getMineType() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
- getName() - Method in class za.co.wethinkcode.robots.client.ClientRobot
- getName() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getName() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getObjects() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getObstacleCount() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getObstacles() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getObstacles() - Method in class za.co.wethinkcode.robots.server.world.World
- getObstacleTile() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getOwner() - Method in class za.co.wethinkcode.robots.server.robots.ClientControlledRobot
- getParser() - Method in class za.co.wethinkcode.robots.client.Client
- getPart(int) - Method in class za.co.wethinkcode.robots.client.InputParser
- getParts() - Method in class za.co.wethinkcode.robots.client.InputParser
-
Returns all the words in the input as an array e.g.
- getPitTile() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getPort() - Method in class za.co.wethinkcode.robots.client.Client
- getPort() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getPosition() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getPositionFromWorldObject(WorldObject) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Given a
WorldObjectreturn thePositionthere - getRandomSpawn() - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- getReloadTime() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getReloadTime() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getReloadTime() - Method in class za.co.wethinkcode.robots.server.world.World
- getRepairTime() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getRepairTime() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getRepairTime() - Method in class za.co.wethinkcode.robots.server.world.World
- getRequest() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Get a sent request back in the form of JSON
- getResponse() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Get a response that's already been logged back in the form of JSON
- getResponseKind() - Method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
- getRobot() - Method in class za.co.wethinkcode.robots.server.commands.CommandRequest
-
Returns the name of the robot that will execute the command.
- getRobot(String) - Method in class za.co.wethinkcode.robots.server.world.World
-
Getter for a robot from the world by name.
- getRobotAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.World
-
Shallow call to
WorldMap.getRobotAt(int, int) - getRobotAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- getRobotKind() - Method in class za.co.wethinkcode.robots.client.ClientRobot
- getRobotName() - Method in class za.co.wethinkcode.robots.client.InputParser
- getRobotName() - Method in class za.co.wethinkcode.robots.server.commands.Command
-
Get the name of the robot that this command is being executed on
- getRobotNames() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- getRobots() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getRobotSprite(RobotKind, Direction) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getSavedWorld(Context) - Method in class za.co.wethinkcode.robots.webapi.WorldApiHandler
-
GET /world/{world} Returns the currently running world as JSON.
- getScanner() - Method in class za.co.wethinkcode.robots.client.Client
-
The scanner this robot is using
- getShields() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Getter for this robot's shield
- getShields() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getShotDistance() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Getter for how far this robot can shoot
- getShotDistance() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getSocket() - Method in class za.co.wethinkcode.robots.server.networking.ConnectedClient
- getState() - Method in class za.co.wethinkcode.robots.client.ClientRobot
- getStatus() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getStatusBadge(Status) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getSymbol() - Method in enum class za.co.wethinkcode.robots.domain.Direction
- getSymbol() - Method in enum class za.co.wethinkcode.robots.domain.Status
- getSymbol() - Method in enum class za.co.wethinkcode.robots.server.robots.MineType
- getSymbol() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- getSymbol() - Method in class za.co.wethinkcode.robots.server.world.MineObstacle
- getSymbol() - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
- getSymbol() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- getSymbol() - Method in class za.co.wethinkcode.robots.server.world.PitObstacle
- getSymbol() - Method in class za.co.wethinkcode.robots.server.world.WorldEdge
- getSymbol() - Method in interface za.co.wethinkcode.robots.server.world.WorldObject
- getSymbolFromPosition(Position, String) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- getTopLeft() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- getTopLeft() - Method in class za.co.wethinkcode.robots.server.world.Pit
- getType() - Method in class za.co.wethinkcode.robots.server.world.MineObstacle
-
Return the
MineTypeof thisMineObstacle. - getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.BackCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.ClientQuitCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.ExternalCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.FireCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.ForwardCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.RepairCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.StateCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.TurnCommand
-
Get the way this command is supposed to be used.
- getUsage() - Method in class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- getVisibility() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getVisibility() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getVisibility() - Method in class za.co.wethinkcode.robots.server.world.World
- getWeapon() - Method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Getter for the
WeaponKindthisRobotKinduses - getWhoPlaced() - Method in class za.co.wethinkcode.robots.server.world.MineObstacle
-
Standard getter for who placed a
MineObstacle - getWidth() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- getWidth() - Method in class za.co.wethinkcode.robots.server.world.World
- getWorldConfig() - Method in class za.co.wethinkcode.robots.server.world.World
- getWorldEdgeTile() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- getWorldKnowledge() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- getWorldMapAsString() - Method in class za.co.wethinkcode.robots.server.world.World
- getWorldObjectFromPosition(Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Given a
Positionreturn the world Object that is found there - getWorldSize() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- getX() - Method in class za.co.wethinkcode.robots.server.world.Position
- getY() - Method in class za.co.wethinkcode.robots.server.world.Position
- GROUND_ALT - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- GROUND_COLOR - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- gui() - Method in class za.co.wethinkcode.robots.cli.RenderingOptions
- gui_log(String) - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
- gui_log_direct(String) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.DialogueConsole
- gui_log_direct(String) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
-
Append a string directly to the dialogue console log.
- GUI_WINDOW - Static variable in class za.co.wethinkcode.robots.rendering.Renderer
- GUIRuntime - Class in za.co.wethinkcode.robots.rendering.gui
- GUIRuntime(Client) - Constructor for class za.co.wethinkcode.robots.rendering.gui.GUIRuntime
- GUN - Enum constant in enum class za.co.wethinkcode.robots.domain.WeaponKind
-
Guns have ammo and a shot distance
H
- harmRobot(Robot) - Method in interface za.co.wethinkcode.robots.server.world.DangerousObject
-
This method takes in a target, manipulates their state, then returns it
- harmRobot(Robot) - Method in class za.co.wethinkcode.robots.server.world.MineObstacle
-
This method takes in a target, manipulates their state, then returns it
- harmRobot(Robot) - Method in class za.co.wethinkcode.robots.server.world.PitObstacle
- hasActiveConnections() - Method in class za.co.wethinkcode.robots.server.Server
- hasCurrentRobot() - Method in class za.co.wethinkcode.robots.client.memory.Memory
- hashCode() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.domain.HelpStruct
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.server.networking.ClientID
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns a hash code value for this object.
- hashCode() - Method in class za.co.wethinkcode.robots.server.persistence.SavedWorld
- hashCode() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Returns a hash code value for this object.
- hashCode() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns a hash code value for this object.
- hashCode() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- hashCode() - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
-
Returns a hash code value for this object.
- hashCode() - Method in class za.co.wethinkcode.robots.server.world.Position
- hasObstacle(Position) - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- height() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Returns the value of the
heightrecord component. - help - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
The help command displays all currently available command and their usages.
- help - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- helpfulMessage(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- HelpStruct - Record Class in za.co.wethinkcode.robots.domain
-
Help Struct stores all the information that an
ImplementedClientCommandsneeds to be rendered in a helpful way - HelpStruct(String, String) - Constructor for record class za.co.wethinkcode.robots.domain.HelpStruct
-
Creates an instance of a
HelpStructrecord class. - HelpTopic - Enum Class in za.co.wethinkcode.robots.cli.help
-
The topics that the launch-help CLI command can be scoped to.
- HTTP_API_Runtime - Class in za.co.wethinkcode.robots.webapi
- HTTP_API_Runtime(WorldConfig, World, WorldRepository) - Constructor for class za.co.wethinkcode.robots.webapi.HTTP_API_Runtime
- HudPanel - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
8-bit / 16-bit retro HUD Panel displaying current robot state, shield/ammo pip-bars, status cooldown indicators, and a multi-robot roster.
- HudPanel(Memory) - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.HudPanel
I
- ImplementedClientCommands - Enum Class in za.co.wethinkcode.robots.domain
-
The Implemented client Commands enum captures the allowed variants of a Client Command
- InputParser - Class in za.co.wethinkcode.robots.client
-
Reads a line of user input and checks whether it is a valid, well-formed command.
- InputParser(String) - Constructor for class za.co.wethinkcode.robots.client.InputParser
-
Deprecated.
- InputParser(String, boolean) - Constructor for class za.co.wethinkcode.robots.client.InputParser
-
Stricter Command Input Parsers that enforces validation
- INTERNAL - Enum constant in enum class za.co.wethinkcode.robots.domain.ResponseKind
-
This response does not send information to the server e.g.
- InternalClientCommand - Interface in za.co.wethinkcode.robots.client.commands
-
Classes that implement the internal client command interface Do not manipulate state in the browser but
- InternalServerCommands - Enum Class in za.co.wethinkcode.robots.server.commands.internal
-
Enum capturing all implemented ServerCommands
- INVISIBLE_SYMBOL - Static variable in class za.co.wethinkcode.robots.rendering.ServerRenderer
- ipAddress() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
-
Deprecated.
- ipAddress() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
ipAddressrecord component. - isAlive() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
True if the robot is still in the game.
- isAudioMuted() - Method in class za.co.wethinkcode.robots.client.Client
- isConnected() - Method in interface za.co.wethinkcode.robots.client.RobotWorldClient
-
Checks if client is connected to server
- isConnected() - Method in class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- isEmpty() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- isHelpInvocation(String[]) - Static method in class za.co.wethinkcode.robots.cli.help.LaunchHelpDispatcher
- isMusicEnabled() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
- isObstacleAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.World
- isObstacleAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- isPointObstacleMode() - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- isPurged() - Method in class za.co.wethinkcode.robots.client.ClientRobot
-
Getter for if a robot has been purged
- isSoundEnabled() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
- isValid() - Method in class za.co.wethinkcode.robots.client.InputParser
-
Returns true if the command is valid and ready to send
- isValidPosition(Position) - Method in class za.co.wethinkcode.robots.server.world.World
- isValidPosition(Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- isValidSpawn(Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- isWallAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.World
- isWallAt(int, int) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
A position out of bounds counts as a wall so that callers don't need to separately bounds-check before asking about walls.
- isWallAt(Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- iterator() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
J
- JUGGERNAUT - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Juggernaut the Tank bot.
K
- KAMAKAZE - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Bomber bot.
- keyBind() - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
- kind() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
kindrecord component.
L
- lastUpdated() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
lastUpdatedrecord component. - launch - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
launch command launches a new
Robot - LaunchCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
Standard Launch command.
- LaunchCommand(JsonObject, ClientID) - Constructor for class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Overload command constructor
- LaunchCommand(String, String, int, int) - Constructor for class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Legacy constructor of the Launch Command
- LaunchCommand(String, RobotKind, ClientID) - Constructor for class za.co.wethinkcode.robots.server.commands.external.LaunchCommand
-
Standard Constructor of the launch command
- LaunchHelpDispatcher - Class in za.co.wethinkcode.robots.cli.help
-
Detects and handles the top-level
helpCLI command. - LaunchHelpDispatcher() - Constructor for class za.co.wethinkcode.robots.cli.help.LaunchHelpDispatcher
- LaunchHelpDispatcher(LaunchHelpProvider...) - Constructor for class za.co.wethinkcode.robots.cli.help.LaunchHelpDispatcher
- LaunchHelpProvider - Interface in za.co.wethinkcode.robots.cli.help
-
A single topic's contribution to the launch-help CLI command.
- listAll() - Method in class za.co.wethinkcode.robots.server.persistence.SqliteWorldRepository
-
Returns a list of all world names currently saved in the database.
- listAll() - Method in interface za.co.wethinkcode.robots.server.persistence.WorldRepository
- loadConfig(String) - Static method in class za.co.wethinkcode.robots.server.config.ConfigLoader
- loadObstaclesFromPattern(int) - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- logArea - Variable in class za.co.wethinkcode.robots.rendering.gui.ui.DialogueConsole
- logArea - Variable in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- logWorldCreation(World) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Log the specs of a world when it is created, printing out its specifications, as well as a picture to the server admin console
- look - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Look command displays information about the
Robot's surroundings - LookCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
The Look command class.
- LookCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Construct a look command from incoming json
- LookCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Standard constructor for the look command.
- lookObjectDistance(String) - Static method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Deprecated.
- lookObjectType(String) - Static method in class za.co.wethinkcode.robots.server.commands.external.LookCommand
-
Deprecated.
M
- main(String[]) - Static method in class za.co.wethinkcode.robots.client.Client
- main(String[]) - Static method in class za.co.wethinkcode.robots.server.Server
-
The main method of the Server class.
- MAIN_FONT - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- MAIN_STAGE - Static variable in class za.co.wethinkcode.robots.rendering.gui.GUIRuntime
- makeBold(String) - Static method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
- MakefileRecipeReader - Class in za.co.wethinkcode.robots.cli.help
-
Reads the recipe (the tab-indented command lines) for a single target out of the project's
Makefile. - MakefileRecipeReader() - Constructor for class za.co.wethinkcode.robots.cli.help.MakefileRecipeReader
-
Reads from the Makefile at the project root (relative to the working directory).
- MakefileRecipeReader(Path) - Constructor for class za.co.wethinkcode.robots.cli.help.MakefileRecipeReader
-
Reads from an explicit Makefile path, mainly useful for testing.
- makeItalic(String) - Static method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
- MalformedCommandException - Exception Class in za.co.wethinkcode.robots.errors
-
Throw this exception if arguments are incorrectly formatted
- MalformedCommandException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.MalformedCommandException
- map() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
maprecord component. - maxShields() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
maxShieldsrecord component. - maxShields() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns the value of the
maxShieldsrecord component. - maxShots() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
maxShotsrecord component. - maxShots() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns the value of the
maxShotsrecord component. - mazeType() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- Memory - Class in za.co.wethinkcode.robots.client.memory
-
This class stores the memory of the currently running client The currently selected robot as well as all the robots launched
- Memory(String, int, Client) - Constructor for class za.co.wethinkcode.robots.client.memory.Memory
-
Standard constructor for a
Memoryinstance - mine - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
mine command drops a mine from a
Robotwho uses mines - MINE - Enum constant in enum class za.co.wethinkcode.robots.domain.WeaponKind
-
Mines can be laid and have a
MineType - MINE - Enum constant in enum class za.co.wethinkcode.robots.server.persistence.SavedWorldObjectType
-
A placed mine that can damage a robot.
- MineCommand - Class in za.co.wethinkcode.robots.server.commands.external
- MineCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Overload command constructor
- MineObstacle - Class in za.co.wethinkcode.robots.server.world
-
Domain Class representing a placed mine
- MineObstacle(Position, ClientID, MineType) - Constructor for class za.co.wethinkcode.robots.server.world.MineObstacle
- mineTime() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
mineTimerecord component. - mineTime() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns the value of the
mineTimerecord component. - mineType() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns the value of the
mineTyperecord component. - MineType - Enum Class in za.co.wethinkcode.robots.server.robots
-
Enum representing the different kinds of mines that RobotKinds can use.
- MissingWorldObjectException - Exception Class in za.co.wethinkcode.robots.errors
-
This message is thrown when a
WorldObjectto be found but for whatever reason, is not. - MissingWorldObjectException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.MissingWorldObjectException
-
This message is thrown when a
WorldObjectto be found but for whatever reason, is not. - moveTextOnScreen(String, int) - Static method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
N
- name() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
namerecord component. - namedIpAddress() - Method in class za.co.wethinkcode.robots.cli.ConnectionOptions
- newRobotConnectionReceivedCopy(Socket) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Immediately renders the copy for a new robot connection being received.
- newServer(String[]) - Static method in class za.co.wethinkcode.robots.server.Server
-
Static style configuration stage for setting up a server.
- newServerWithoutWebApi(String[]) - Static method in class za.co.wethinkcode.robots.server.Server
-
Builds a Server same way newServer(args) does, but without a
HTTP_API_Runtimeweb server attached. - NORMAL - Enum constant in enum class za.co.wethinkcode.robots.domain.Status
-
A normal robot can do anything it wants
- NORTH - Enum constant in enum class za.co.wethinkcode.robots.domain.Direction
- NoSuchRobotException - Exception Class in za.co.wethinkcode.robots.errors
- NoSuchRobotException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.NoSuchRobotException
- NoSuchWorldException - Exception Class in za.co.wethinkcode.robots.errors
- NoSuchWorldException() - Constructor for exception class za.co.wethinkcode.robots.errors.NoSuchWorldException
- NoSuchWorldException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.NoSuchWorldException
- NpcRobot - Class in za.co.wethinkcode.robots.server.robots
-
A robot with no controlling client connection
- NpcRobot(SavedRobot) - Constructor for class za.co.wethinkcode.robots.server.robots.NpcRobot
- NUKE - Enum constant in enum class za.co.wethinkcode.robots.server.robots.MineType
-
The nuke mine type deals 10 points of damage
O
- obstacle() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- Obstacle - Class in za.co.wethinkcode.robots.server.world
- Obstacle(Position, Position) - Constructor for class za.co.wethinkcode.robots.server.world.Obstacle
- OBSTACLE - Enum constant in enum class za.co.wethinkcode.robots.server.persistence.SavedWorldObjectType
-
A fixed obstacle that blocks robot movement.
- Obstacle.Brick - Record Class in za.co.wethinkcode.robots.server.world
-
Record class of a single brick of an Obstacle
- ObstructionException - Exception Class in za.co.wethinkcode.robots.errors
- ObstructionException() - Constructor for exception class za.co.wethinkcode.robots.errors.ObstructionException
- ObstructionException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.ObstructionException
- OFF - Enum constant in enum class za.co.wethinkcode.robots.cli.DebugLevel
-
No Debug logs
- ok(JsonObject) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Take in a JsonObject and return and OK message as a String
- ON - Enum constant in enum class za.co.wethinkcode.robots.cli.DebugLevel
-
All Debug logs
- orientation - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
- OrientationCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
Returns the current direction that a robot is facing.
- OrientationCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- OrientationCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.OrientationCommand
- out - Static variable in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Standard output unless reassigned
P
- p() - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
-
Returns the value of the
precord component. - PANEL_BG - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- parse(String[]) - Method in class za.co.wethinkcode.robots.cli.CliParser
- parsejson(String) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
- pit() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- Pit - Class in za.co.wethinkcode.robots.server.world
- Pit(Position, Position) - Constructor for class za.co.wethinkcode.robots.server.world.Pit
- PIT - Enum constant in enum class za.co.wethinkcode.robots.server.persistence.SavedWorldObjectType
-
A bottomless pit that can destroy a robot.
- PitObstacle - Class in za.co.wethinkcode.robots.server.world
-
The Pit Obstacle represents a bottomless pit that a robot can fall into
- PitObstacle(Position, Position) - Constructor for class za.co.wethinkcode.robots.server.world.PitObstacle
-
Standard Constructor for a bottomless pit
- PixelTheme - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
Central theme palette and font provider for the 8-bit / 16-bit Pixel-Art GUI.
- PixelTheme() - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- playBack() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
backcommand. - playBlocked() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the blocked-move error sound.
- playButton() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the UI button-click effect.
- playDeath() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the robot death sound.
- playDialogClose() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the dialog close effect.
- playDialogOpen() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the dialog open effect.
- playFire() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
firecommand (hit). - playFireError() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the fire error sound (e.g., no ammo).
- playFireFor(RobotKind) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play a fire sound specific to the robot kind.
- playForward() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
forwardcommand. - playHelp() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
helpcommand. - playLaunch() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for launching a robot.
- playLaunchFor(RobotKind) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play a launch sound specific to the robot kind.
- playLook() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
lookcommand. - playMine() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
minecommand. - playMoveFor(RobotKind) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play a move sound specific to the robot kind.
- playOrientation() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
orientationcommand. - playPitFall() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the pit fall sound.
- playQuit() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
quitcommand. - playReload() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
reloadcommand. - playReloadError() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the reload error sound.
- playRepair() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
repaircommand. - playSound(String) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play a sound effect from the /sounds/ directory.
- playSoundForCommand(InputParser) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
-
Play the appropriate sound effect for a command.
- playState() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
statecommand. - playSwap() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
swapcommand. - playTurn() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
turncommand. - playTurnFor(RobotKind) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play a turn sound specific to the robot kind.
- playWorld() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Play the sound for the
worldcommand. - port() - Method in class za.co.wethinkcode.robots.cli.ConnectionOptions
- port() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- port() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
portrecord component. - position() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
positionrecord component. - position() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
positionrecord component. - Position - Class in za.co.wethinkcode.robots.server.world
- Position(int, int) - Constructor for class za.co.wethinkcode.robots.server.world.Position
- Position(JsonArray) - Constructor for class za.co.wethinkcode.robots.server.world.Position
- prettyJsonFormat(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Take in a raw unparsed string and prettify it
- printWorld() - Method in class za.co.wethinkcode.robots.server.world.World
-
Deprecated.
- printWorld(World) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
- promptInput(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Rendering designed for prompting an input from the user
- purge - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- purgeCheck(World, String) - Static method in interface za.co.wethinkcode.robots.server.commands.Stateful
- PurgeCommand - Class in za.co.wethinkcode.robots.server.commands.internal
-
The purge command removes a robot from the map and the world.
- PurgeCommand(String[]) - Constructor for class za.co.wethinkcode.robots.server.commands.internal.PurgeCommand
- PurgedRobotException - Exception Class in za.co.wethinkcode.robots.errors
-
This exception is thrown when a robot that was once active has been purged by the server administrator
- PurgedRobotException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.PurgedRobotException
- purgeRobot(World, String) - Method in class za.co.wethinkcode.robots.server.commands.internal.PurgeCommand
Q
- QUICKBOT - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
- quit - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Disconnects the currently connected client from the server
- quit - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
R
- rawToJson(String) - Static method in class za.co.wethinkcode.robots.api.ClientAPI
-
Take in the raw response from a server and format it as a JSON object
- readRecipe(String) - Method in class za.co.wethinkcode.robots.cli.help.MakefileRecipeReader
-
Reads the recipe for the given target name.
- readServerResponse() - Method in class za.co.wethinkcode.robots.client.networking.ClientNetworkInput
- receiveFromGUI(String) - Method in class za.co.wethinkcode.robots.client.Client
- reduceShield(int) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Applies shield damage — shields can never go below zero.
- reduceShots(int) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Reduces shots — cannot go below zero.
- REGGIE - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Reggie the default bot type.
- reload - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
- RELOAD - Enum constant in enum class za.co.wethinkcode.robots.domain.Status
-
A reloading robot is waiting for its ammunition to be recharged
- ReloadCommand - Class in za.co.wethinkcode.robots.server.commands.external
- ReloadCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
-
Construct a Reload Command from incoming JSON
- ReloadCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
- reloadShots() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Reloads weapon back to maximum after reload time is complete.
- reloadTime() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
reloadTimerecord component. - reloadTime() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns the value of the
reloadTimerecord component. - removeAllObstacles() - Method in class za.co.wethinkcode.robots.server.world.WorldMap
-
Utility method to remove all obstacles
- removeAllRobots() - Method in class za.co.wethinkcode.robots.server.world.World
- removeRobot(String) - Method in class za.co.wethinkcode.robots.server.world.World
- removeRobotFromMap(Robot) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- render() - Method in class za.co.wethinkcode.robots.cli.help.ClientLaunchHelpProvider
- render() - Method in interface za.co.wethinkcode.robots.cli.help.LaunchHelpProvider
- render() - Method in class za.co.wethinkcode.robots.cli.help.ServerLaunchHelpProvider
- render() - Method in class za.co.wethinkcode.robots.rendering.gui.ui.WorldCanvas
- render(String[]) - Method in class za.co.wethinkcode.robots.cli.help.LaunchHelpDispatcher
-
Builds the help text for the given invocation.
- RENDER_OUTPUT - Static variable in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Standard output unless reassigned
- RENDER_OUTPUT - Static variable in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Standard output unless reassigned
- renderANetworkMessage(String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
- renderAnInternalDebugMessage(JsonObject) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Overload of internal Debug Message to take in a JSON object
- renderAnInternalDebugMessage(String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Take in a debug message that does not break the program but the server operator should be aware of
- renderAnInternalErrorMessage(Exception) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
- renderAnInternalErrorMessage(String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Take in an error that does not break the program but the server operator should be aware of
- renderBotSelection(Memory) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- renderClosing() - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Simple Styled closing
- renderCommand(String) - Static method in class za.co.wethinkcode.robots.rendering.ServerRenderer
-
Render the output of an executed command e.g.
- Renderer - Class in za.co.wethinkcode.robots.rendering
- Renderer() - Constructor for class za.co.wethinkcode.robots.rendering.Renderer
- rendering() - Method in class za.co.wethinkcode.robots.cli.ClientOptions
- RenderingOptions - Class in za.co.wethinkcode.robots.cli
-
Client Side options for rendering a GUI
- RenderingOptions() - Constructor for class za.co.wethinkcode.robots.cli.RenderingOptions
- renderMessage(String) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Take in a message render it to the screen
- renderMessage(String, Ansi_Styling) - Static method in class za.co.wethinkcode.robots.rendering.TextRenderer
-
Take in a message and render it in the given colour
- repair - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
- REPAIR - Enum constant in enum class za.co.wethinkcode.robots.domain.Status
-
A repairing robot is waiting for its shields to go back online
- RepairCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
The Repair Command restores a robot's shield to their configured maximum.
- RepairCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.RepairCommand
-
Construct a repair command from incoming Parsed JSON
- RepairCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.RepairCommand
- repairShields() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Restores shields to maximum after repair time is complete.
- repairTime() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
repairTimerecord component. - repairTime() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns the value of the
repairTimerecord component. - request() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Returns the value of the
requestrecord component. - RequestResponse - Record Class in za.co.wethinkcode.robots.client.memory
-
Struct record class storing the full flow of request and response
- RequestResponse(ImplementedClientCommands, String, String) - Constructor for record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Creates an instance of a
RequestResponserecord class. - RESET - Static variable in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- resolveFromAlias(String) - Static method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Returns either an Implemented ClientCommand or null, but leads it to the call site to handle the null case
- response() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Returns the value of the
responserecord component. - ResponseKind - Enum Class in za.co.wethinkcode.robots.domain
-
Enum encapsulating the variants of response.
- restore - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- restore(String) - Method in class za.co.wethinkcode.robots.server.persistence.SqliteWorldRepository
-
Restores a SavedWorld by looking up its most recent snapshot by name.
- restore(String) - Method in interface za.co.wethinkcode.robots.server.persistence.WorldRepository
- RestoreCommand - Class in za.co.wethinkcode.robots.server.commands.internal
-
The restore command returns the currently running
Worldto a state - RestoreCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.RestoreCommand
- restoreFrom(SavedWorld) - Method in class za.co.wethinkcode.robots.server.world.World
- RESULT - Enum constant in enum class za.co.wethinkcode.robots.domain.ResponseKind
-
This response is for commands that return a result from the server eg.
- reviveRobot(String) - Method in class za.co.wethinkcode.robots.server.world.World
-
Return a robot from the grave.
- Robot - Class in za.co.wethinkcode.robots.server.robots
-
Represents a robot in the Robot World game.
- Robot(String) - Constructor for class za.co.wethinkcode.robots.server.robots.Robot
-
Quick constructor for testing — uses default values.
- Robot(String, String, int, int) - Constructor for class za.co.wethinkcode.robots.server.robots.Robot
-
Main constructor used when a player launches into the world.
- Robot(String, RobotKind) - Constructor for class za.co.wethinkcode.robots.server.robots.Robot
-
Robot Constructor based on type.
- RobotCannotActException - Exception Class in za.co.wethinkcode.robots.errors
- RobotCannotActException() - Constructor for exception class za.co.wethinkcode.robots.errors.RobotCannotActException
- RobotCannotActException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.RobotCannotActException
-
Constructor for a
RobotCannotActExceptionfor an unclear reason - RobotCannotActException(Status, Robot, World) - Constructor for exception class za.co.wethinkcode.robots.errors.RobotCannotActException
- robotCommand(Context) - Method in class za.co.wethinkcode.robots.webapi.WorldApiHandler
- robotHasBeenPurged(String) - Method in class za.co.wethinkcode.robots.server.world.World
-
Return if a robot with this name has been purged
- RobotKind - Enum Class in za.co.wethinkcode.robots.domain
-
The Robot Kind Enum encapsulates all the different possible types of robot we can expect to encounter
- robots - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- RobotScene - Class in za.co.wethinkcode.robots.rendering.gui
- RobotScene(Parent) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(Parent, double, double) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(Parent, double, double, boolean) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(Parent, double, double, boolean, SceneAntialiasing) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(Parent, double, double, Paint) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(Parent, Paint) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotScene(GameWindow, Client) - Constructor for class za.co.wethinkcode.robots.rendering.gui.RobotScene
- RobotsCommand - Class in za.co.wethinkcode.robots.server.commands.internal
- RobotsCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.RobotsCommand
- RobotWorldClient - Interface in za.co.wethinkcode.robots.client
-
A basic interface that wraps the expected Robot Worlds API so that we can easily connect to and send requests to the server.
- RobotWorldJsonClient - Class in za.co.wethinkcode.robots.client
- RobotWorldJsonClient() - Constructor for class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- ROOTENDPOINT - Variable in class za.co.wethinkcode.robots.webapi.HTTP_API_Runtime
- run() - Method in class za.co.wethinkcode.robots.client.ClientHandler
- run() - Method in class za.co.wethinkcode.robots.server.commands.internal.ServerCommands
- run() - Method in class za.co.wethinkcode.robots.server.SingleThreadConnection
- run() - Method in class za.co.wethinkcode.robots.webapi.HTTP_API_Runtime
S
- safelyMoveRobot(Robot, Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- save - Enum constant in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
- save(SavedWorld) - Method in class za.co.wethinkcode.robots.server.persistence.SqliteWorldRepository
-
Saves a full snapshot of the world into the database as a single transaction.
- save(SavedWorld) - Method in interface za.co.wethinkcode.robots.server.persistence.WorldRepository
-
Saves a world snapshot, creating it if it doesn't already exist, or replacing the existing snapshot with the same name if it does.
- SaveCommand - Class in za.co.wethinkcode.robots.server.commands.internal
- SaveCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.SaveCommand
- SavedRobot - Record Class in za.co.wethinkcode.robots.server.persistence
- SavedRobot(String, RobotKind, Position, Direction, int, int, Status, Duration) - Constructor for record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Creates an instance of a
SavedRobotrecord class. - SavedWorld - Class in za.co.wethinkcode.robots.server.persistence
-
Represents an immutable snapshot of a Robot World that can be persisted.
- SavedWorld(String, int, int, int, List<Position>) - Constructor for class za.co.wethinkcode.robots.server.persistence.SavedWorld
-
Creates a snapshot of a world that only tracks obstacles, using default timing and combat rules.
- SavedWorld(String, WorldDimensions, WorldRules, List<SavedWorldObject>, List<SavedRobot>) - Constructor for class za.co.wethinkcode.robots.server.persistence.SavedWorld
-
Creates a fully configured snapshot of a world.
- SavedWorldObject - Record Class in za.co.wethinkcode.robots.server.persistence
-
Represents an immutable static world object that can be persisted.
- SavedWorldObject(SavedWorldObjectType, Position, Position) - Constructor for record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Creates a persisted obstacle or pit without mine information.
- SavedWorldObject(SavedWorldObjectType, Position, Position, MineType) - Constructor for record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Creates an instance of a
SavedWorldObjectrecord class. - SavedWorldObjectType - Enum Class in za.co.wethinkcode.robots.server.persistence
-
Identifies the static world-object types supported by world persistence.
- send(JsonObject) - Method in class za.co.wethinkcode.robots.server.networking.ServerOutput
-
The send message is the final state of validation that the message being sent over the network adheres to the Robot World API spec
- send(String) - Method in class za.co.wethinkcode.robots.server.networking.ServerOutput
-
A raw string being sent over the network.
- sendButton - Variable in class za.co.wethinkcode.robots.rendering.gui.ui.DialogueConsole
- sendCommand() - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
-
Standard way to send an input from the robot scene to the client
- sendCommand(String) - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
- sendRequest(String) - Method in interface za.co.wethinkcode.robots.client.RobotWorldClient
-
Sends a request presented by the Json object to the server
- sendRequest(String) - Method in class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- sendRequest(InputParser, Memory, ClientRobot) - Method in class za.co.wethinkcode.robots.client.networking.ClientNetworkOutput
- sendRequestAsString(String) - Method in interface za.co.wethinkcode.robots.client.RobotWorldClient
- sendRequestAsString(String) - Method in class za.co.wethinkcode.robots.client.RobotWorldJsonClient
- sendValidatedRequest(JsonObject) - Method in class za.co.wethinkcode.robots.client.networking.ClientNetworkOutput
- Server - Class in za.co.wethinkcode.robots.server
-
Represents the Robot World server.
- Server(WorldConfig, World) - Constructor for class za.co.wethinkcode.robots.server.Server
-
The standard constructor of a new Server
- SERVER - Enum constant in enum class za.co.wethinkcode.robots.cli.help.HelpTopic
- ServerAPI - Class in za.co.wethinkcode.robots.api
-
The Server API class encapsulates all behaviour related to outputting Command Results to the Client
- ServerAPI() - Constructor for class za.co.wethinkcode.robots.api.ServerAPI
- serverCausedError(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Rendering designed for notifying the user that an error occurred on the server
- ServerCommands - Class in za.co.wethinkcode.robots.server.commands.internal
-
Dedicated Class for executing internal commands on the server
- ServerCommands(World, WorldRepository, Supplier<Boolean>) - Constructor for class za.co.wethinkcode.robots.server.commands.internal.ServerCommands
- ServerComplianceException - Exception Class in za.co.wethinkcode.robots.errors
-
Thrown whenever the client receives some information from the server that does not comply with the Robot World Specification
- ServerComplianceException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.ServerComplianceException
- ServerHelpCommand - Class in za.co.wethinkcode.robots.server.commands.internal
-
This command encapsulates the Server side equivalent of
ClientHelpCommand - ServerHelpCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.ServerHelpCommand
- ServerInitilisationError - Exception Class in za.co.wethinkcode.robots.errors
-
This error is thrown when there is an issue initialising the server for whatever reason.
- ServerInitilisationError(String) - Constructor for exception class za.co.wethinkcode.robots.errors.ServerInitilisationError
- ServerLaunchHelpProvider - Class in za.co.wethinkcode.robots.cli.help
-
Renders launch help for the Robot World server, sourcing the actual command from the
serverMakefile target where possible. - ServerLaunchHelpProvider() - Constructor for class za.co.wethinkcode.robots.cli.help.ServerLaunchHelpProvider
- ServerLaunchHelpProvider(MakefileRecipeReader) - Constructor for class za.co.wethinkcode.robots.cli.help.ServerLaunchHelpProvider
- ServerOptions - Class in za.co.wethinkcode.robots.cli
-
Defines the command-line options used to start a Robot World server.
- ServerOptions() - Constructor for class za.co.wethinkcode.robots.cli.ServerOptions
- ServerOutput - Class in za.co.wethinkcode.robots.server.networking
-
The Server Output Class is solely responsible for the networking component of the server output
- ServerOutput(Socket) - Constructor for class za.co.wethinkcode.robots.server.networking.ServerOutput
-
Standard Constructor for the server Output Object
- ServerQuitCommand - Class in za.co.wethinkcode.robots.server.commands.internal
- ServerQuitCommand() - Constructor for class za.co.wethinkcode.robots.server.commands.internal.ServerQuitCommand
- ServerRenderer - Class in za.co.wethinkcode.robots.rendering
-
This class encapsulates all rendering behavior on the server side
- ServerRenderer() - Constructor for class za.co.wethinkcode.robots.rendering.ServerRenderer
- setCommandInput() - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- setCurrentBot(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- setCurrentRobot(ClientRobot) - Method in class za.co.wethinkcode.robots.client.memory.Memory
-
Set the current robot that commands will be sent from to a robot that is displayed here
- setCurrentShots(int) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Directly sets shot count — used by server when needed.
- setCustomObstacles(List<Position>) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- setCustomPits(List<Position>) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- setDbg(DebugLevel) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- setDirection(Direction) - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setHandler(ClientHandler) - Method in class za.co.wethinkcode.robots.client.Client
- setInput(Scanner) - Method in class za.co.wethinkcode.robots.client.ClientHandler
-
Append the nextline of a scanner to the input buffer
- setIpAddress(String) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
-
Sets the server bind address.
- setLastMine() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setLastReloaded() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setLastRepaired() - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setLogArea() - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- setMazeType(int) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- SETMINE - Enum constant in enum class za.co.wethinkcode.robots.domain.Status
-
A
Robotwho has set a mine cannot act - setMineTime(int) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- setMusicEnabled(boolean) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Enable or disable background music.
- setMusicVolume(double) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Set the background music volume.
- setPort(int) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- setPosition(Position) - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setPurged(boolean) - Method in class za.co.wethinkcode.robots.client.ClientRobot
-
Setter for if a robot has been purged
- setRepairTime(int) - Method in class za.co.wethinkcode.robots.server.world.World
- setRepository(WorldRepository) - Method in class za.co.wethinkcode.robots.server.Server
- setShields(int) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Sets the maximum shields allowed by the world configuration, and spawns the robot with full health.
- setSoundEnabled(boolean) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Enable or disable sound effects.
- setState(State) - Method in class za.co.wethinkcode.robots.client.ClientRobot
- setStatsPanel(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- setStatus(Status) - Method in class za.co.wethinkcode.robots.server.robots.Robot
- setTopBar() - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
-
Style the top banner header with interactive retro audio controls.
- setWebServer(HTTP_API_Runtime) - Method in class za.co.wethinkcode.robots.server.Server
- setWhereEverythingIs(DualHashBidiMap) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- setWorldKnowledge(WorldKnowledge, Pane) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- setWorldSize(int) - Method in class za.co.wethinkcode.robots.server.config.WorldConfig
- shield() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
shieldrecord component. - shields() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
shieldsrecord component. - shots() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
shotsrecord component. - shots() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
shotsrecord component. - showHelp() - Static method in class za.co.wethinkcode.robots.server.commands.external.ClientHelpCommand
-
Displays all available client commands.
- singleCommandExecution(ClientNetworkInput, ClientNetworkOutput) - Method in class za.co.wethinkcode.robots.client.ClientHandler
-
Take in the input from the
ClientHandler.inputand send it over the network, then receive it's response - SingleThreadConnection - Class in za.co.wethinkcode.robots.server
-
The Single Thread Connection encapsulates an ongoing connection between a client and a server
- SingleThreadConnection(World, ClientID) - Constructor for class za.co.wethinkcode.robots.server.SingleThreadConnection
- SingleThreadConnection(World, ConnectedClient, Consumer<ClientID>) - Constructor for class za.co.wethinkcode.robots.server.SingleThreadConnection
- size() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- sleepForReload(int) - Method in class za.co.wethinkcode.robots.server.commands.external.ReloadCommand
- sleepForRepair(int) - Method in class za.co.wethinkcode.robots.server.commands.external.RepairCommand
- soundManager - Variable in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- SoundManager - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
Central audio controller for the Robot World GUI.
- SoundManager() - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
- source() - Method in record class za.co.wethinkcode.robots.server.networking.ClientID
-
Returns the value of the
sourcerecord component. - SOUTH - Enum constant in enum class za.co.wethinkcode.robots.domain.Direction
- SpriteAtlas - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
High-performance central sprite atlas providing 32x32 pixel-art graphics for world tiles, obstacles, mines, status badges, and 6 distinct robot kinds across 4 directions.
- SpriteAtlas() - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- SqliteWorldRepository - Class in za.co.wethinkcode.robots.server.persistence
-
SQLite implementation of the WorldRepository.
- SqliteWorldRepository(String) - Constructor for class za.co.wethinkcode.robots.server.persistence.SqliteWorldRepository
-
Constructs a new repository and ensures the v1 database schema is created.
- start() - Method in class za.co.wethinkcode.robots.client.Client
- start() - Method in class za.co.wethinkcode.robots.client.ClientHandler
-
Start the execution loop of a handler.
- start() - Method in class za.co.wethinkcode.robots.server.Server
-
Public entry point for starting this server's accept loop from outside the
serverpackage (e.g. - start(int) - Method in class za.co.wethinkcode.robots.webapi.WorldApiServer
- start(Stage) - Method in class za.co.wethinkcode.robots.rendering.gui.GUIRuntime
-
The main entry point for all JavaFX applications.
- startAmbient() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Start the default background music loop.
- startAmbient(String) - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Start a specific background music file.
- state - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
The state command returns information about the current
Robot's state - State - Record Class in za.co.wethinkcode.robots.client.memory
-
Internal ClientRobot state record.
- State(int, int, Status, Direction, Instant, Position) - Constructor for record class za.co.wethinkcode.robots.client.memory.State
-
Creates an instance of a
Staterecord class. - STATE - Enum constant in enum class za.co.wethinkcode.robots.domain.ResponseKind
-
This response returns information about state from the server e.g.
- StateCommand - Class in za.co.wethinkcode.robots.server.commands.external
- StateCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.StateCommand
-
Construct a state command from incoming Json
- StateCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.StateCommand
- Stateful - Interface in za.co.wethinkcode.robots.server.commands
-
Commands that implement the stateful interface manipulate the state of the world and the robots in it
- status() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns the value of the
statusrecord component. - status() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns the value of the
statusrecord component. - Status - Enum Class in za.co.wethinkcode.robots.domain
-
This enum encapsulates the valid states that a robot can be in
- statusSync(World) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Take in the world as it is, and sync the
Statusof the robot internally. - stop() - Method in class za.co.wethinkcode.robots.webapi.HTTP_API_Runtime
- stop() - Method in class za.co.wethinkcode.robots.webapi.WorldApiServer
- stopBackgroundSong() - Static method in class za.co.wethinkcode.robots.rendering.gui.ui.SoundManager
-
Stop the background music.
- styleClientRobot(ClientRobot) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- styleMemory(Memory) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Stylistically similar to a
memory.toString() - stylePrompt(String) - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
- styleWorldKnowledge(WorldKnowledge) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- stylishInfo(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Rendering for info that is otherwise styled
- stylishInfo(String, String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Overload of styled text with a custom symbol
- stylishInfo(String, String, Object, Ansi_Styling) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
The complete implementation that overloads call.
- SUCCESS_GREEN - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- swap - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
The swap command is an internally implemented client command that allows the client to switch between different launched
Robot - SwapClientCommand - Class in za.co.wethinkcode.robots.client.commands
-
The swap command allows a user to switch between launched robots.
- SwapClientCommand(Memory, Client) - Constructor for class za.co.wethinkcode.robots.client.commands.SwapClientCommand
-
Standard constructor for a swap command
T
- takeDamage(int) - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Deals damage to shields.
- TEXT_GOLD - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- TEXT_MAIN - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- TEXT_MUTED - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- TEXT_TITLE - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.PixelTheme
- TextRenderer - Class in za.co.wethinkcode.robots.rendering
-
This class encapsulates all generic text rendering behavior
- TextRenderer() - Constructor for class za.co.wethinkcode.robots.rendering.TextRenderer
- TILE_SIZE - Static variable in class za.co.wethinkcode.robots.rendering.gui.ui.SpriteAtlas
- TileKind - Class in za.co.wethinkcode.robots.client.memory
- TileKind() - Constructor for class za.co.wethinkcode.robots.client.memory.TileKind
- TNT - Enum constant in enum class za.co.wethinkcode.robots.server.robots.MineType
-
The default mine type.
- toJson() - Method in class za.co.wethinkcode.robots.server.world.Position
-
Return a position as a JSON array
- TooManyOfYouException - Exception Class in za.co.wethinkcode.robots.errors
- TooManyOfYouException() - Constructor for exception class za.co.wethinkcode.robots.errors.TooManyOfYouException
- TooManyOfYouException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.TooManyOfYouException
- topic() - Method in class za.co.wethinkcode.robots.cli.help.ClientLaunchHelpProvider
- topic() - Method in interface za.co.wethinkcode.robots.cli.help.LaunchHelpProvider
- topic() - Method in class za.co.wethinkcode.robots.cli.help.ServerLaunchHelpProvider
- topLeft() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns the value of the
topLeftrecord component. - toString() - Method in class za.co.wethinkcode.robots.client.ClientRobot
- toString() - Method in record class za.co.wethinkcode.robots.client.memory.RequestResponse
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.client.memory.State
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.domain.HelpStruct
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.server.networking.ClientID
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedRobot
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Returns a string representation of this record class.
- toString() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Returns a string representation of this record class.
- toString() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Shows full robot state — used by dump and robots server commands.
- toString() - Method in class za.co.wethinkcode.robots.server.world.MineObstacle
- toString() - Method in record class za.co.wethinkcode.robots.server.world.Obstacle.Brick
-
Returns a string representation of this record class.
- toString() - Method in class za.co.wethinkcode.robots.server.world.Obstacle
- toString() - Method in class za.co.wethinkcode.robots.server.world.Position
- toString() - Method in class za.co.wethinkcode.robots.server.world.WorldEdge
- turn - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
The turn command moves the current robot's ordinal in the
Directionenum. - TurnCommand - Class in za.co.wethinkcode.robots.server.commands.external
- TurnCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.TurnCommand
- TurnCommand(String, String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.TurnCommand
- turnLeft() - Method in enum class za.co.wethinkcode.robots.domain.Direction
- turnLeft() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Rotates 90 degrees left — NORTH becomes WEST, WEST becomes SOUTH, etc.
- turnRight() - Method in enum class za.co.wethinkcode.robots.domain.Direction
- turnRight() - Method in class za.co.wethinkcode.robots.server.robots.Robot
-
Rotates 90 degrees right — NORTH becomes EAST, EAST becomes SOUTH, etc.
- type() - Method in record class za.co.wethinkcode.robots.server.persistence.SavedWorldObject
-
Returns the value of the
typerecord component.
U
- UNKNOWN - Static variable in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Utility constant for establishing an unknown world
- unknownString - Static variable in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Utility constant for rendering world knowledge that is unknown
- UnsupportedRobotWorldCommand - Exception Class in za.co.wethinkcode.robots.errors
-
Internal Error for Unsupported Robot World Command
- UnsupportedRobotWorldCommand() - Constructor for exception class za.co.wethinkcode.robots.errors.UnsupportedRobotWorldCommand
- UnsupportedRobotWorldCommand(String) - Constructor for exception class za.co.wethinkcode.robots.errors.UnsupportedRobotWorldCommand
- updateCurrentBot(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
- updateCurrentBot(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
- updateGui(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.RobotScene
-
Update the GUI based on the latest version of the client's memory.
- updateGuiDirectly(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.GameWindow
-
Update the GUI directly on FX application thread based on latest Memory.
- updateHud(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.HudPanel
- updateMemory(InputParser, JsonObject, JsonObject, AtomicBoolean) - Method in class za.co.wethinkcode.robots.client.memory.Memory
-
Take in the parsed input from the user, the response from the server, and update the
Memoryaccordingly - updateRenderer(Memory) - Static method in class za.co.wethinkcode.robots.rendering.Renderer
-
Updates all child renderers
- updateRobotPositionOnMap(Robot, Position) - Method in class za.co.wethinkcode.robots.server.world.WorldMap
- updateState(Memory) - Method in class za.co.wethinkcode.robots.rendering.gui.ui.WorldCanvas
-
Called whenever memory updates to digest the latest response state.
- usage() - Method in record class za.co.wethinkcode.robots.domain.HelpStruct
-
Returns the value of the
usagerecord component. - userCausedError(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
-
Rendering designed for notifying the user that they have made an error
V
- validate() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
- validateIp(String) - Method in class za.co.wethinkcode.robots.client.Client
- validatePort(Integer) - Method in class za.co.wethinkcode.robots.client.Client
-
Validate that the given port is within the acceptable range of port numbers
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.cli.DebugLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.cli.help.HelpTopic
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.ResponseKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.domain.WeaponKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.server.persistence.SavedWorldObjectType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class za.co.wethinkcode.robots.server.robots.MineType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class za.co.wethinkcode.robots.cli.DebugLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.cli.help.HelpTopic
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.ResponseKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.domain.WeaponKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.rendering.Ansi_Styling
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.server.commands.internal.InternalServerCommands
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.server.persistence.SavedWorldObjectType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class za.co.wethinkcode.robots.server.robots.MineType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(World, String) - Method in class za.co.wethinkcode.robots.server.commands.external.MineCommand
-
Verify if a command is able to be executed given the current state of the robot.
- verify(World, String) - Method in interface za.co.wethinkcode.robots.server.commands.Stateful
-
Verify if a command is able to be executed given the current state of the robot.
- verifyInternal(World, JsonObject) - Static method in interface za.co.wethinkcode.robots.server.commands.Stateful
- verifyInternal(World, String) - Static method in interface za.co.wethinkcode.robots.server.commands.Stateful
-
Static internal method that allows this to be called statically if needed
- visibility() - Method in record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Returns the value of the
visibilityrecord component. - visibility() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Returns the value of the
visibilityrecord component.
W
- WeaponKind - Enum Class in za.co.wethinkcode.robots.domain
-
Enum encapsulating the different kinds of weapon a
RobotKindcan have - WeaponTypeException - Exception Class in za.co.wethinkcode.robots.errors
-
This exception is raised when a robot tries to use the wrong kind of weapon.
- WeaponTypeException(String) - Constructor for exception class za.co.wethinkcode.robots.errors.WeaponTypeException
- WEB_API_PORT - Static variable in class za.co.wethinkcode.robots.cli.ServerOptions
- webAPIOut(JsonObject) - Static method in class za.co.wethinkcode.robots.api.ServerAPI
-
Utility method to send a cleaned JSON object over the HTTP web layer
- webID - Static variable in record class za.co.wethinkcode.robots.server.networking.ClientID
- webID() - Static method in record class za.co.wethinkcode.robots.server.networking.ClientID
- WEST - Enum constant in enum class za.co.wethinkcode.robots.domain.Direction
- WHISPER - Enum constant in enum class za.co.wethinkcode.robots.domain.RobotKind
-
Whisper the sniper bot.
- width() - Method in record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Returns the value of the
widthrecord component. - world - Enum constant in enum class za.co.wethinkcode.robots.domain.ImplementedClientCommands
-
Displays configuration information about the
WorldConfig - World - Class in za.co.wethinkcode.robots.server.world
-
The World Class stores all known information about the world World-level configuration: how many seconds a repair takes.
- World(int) - Constructor for class za.co.wethinkcode.robots.server.world.World
-
Deprecated.
- World(int, int, int) - Constructor for class za.co.wethinkcode.robots.server.world.World
-
Deprecated.
- World(WorldConfig) - Constructor for class za.co.wethinkcode.robots.server.world.World
-
Most common constructor for a world from a
WorldConfig - World(SavedWorld) - Constructor for class za.co.wethinkcode.robots.server.world.World
-
Constructor a new world from a
SavedWorld - WorldApiHandler - Class in za.co.wethinkcode.robots.webapi
-
Handles HTTP requests for the Robot World Web API.
- WorldApiHandler(World, WorldRepository) - Constructor for class za.co.wethinkcode.robots.webapi.WorldApiHandler
- WorldApiServer - Class in za.co.wethinkcode.robots.webapi
-
The Robot World Web API.
- WorldApiServer(WorldConfig, World, WorldRepository) - Constructor for class za.co.wethinkcode.robots.webapi.WorldApiServer
- WorldCanvas - Class in za.co.wethinkcode.robots.rendering.gui.ui
-
Top-down 8-bit / 16-bit pixel-art canvas renderer for Robot Worlds.
- WorldCanvas(Memory) - Constructor for class za.co.wethinkcode.robots.rendering.gui.ui.WorldCanvas
- WorldCommand - Class in za.co.wethinkcode.robots.server.commands.external
-
The World command describes this world's configuration parameters.
- WorldCommand(JsonObject) - Constructor for class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- WorldCommand(String) - Constructor for class za.co.wethinkcode.robots.server.commands.external.WorldCommand
- WorldConfig - Class in za.co.wethinkcode.robots.server.config
- WorldConfig() - Constructor for class za.co.wethinkcode.robots.server.config.WorldConfig
-
Explicitly bind defaults in empty constructor
- WorldConfig(SavedWorld) - Constructor for class za.co.wethinkcode.robots.server.config.WorldConfig
-
Build a world config from a saved world
- WorldDimensions - Record Class in za.co.wethinkcode.robots.server.persistence
-
The geometric configuration of a saved world.
- WorldDimensions(int, int, int) - Constructor for record class za.co.wethinkcode.robots.server.persistence.WorldDimensions
-
Creates an instance of a
WorldDimensionsrecord class. - WorldEdge - Class in za.co.wethinkcode.robots.server.world
-
The internals of the edge of an existing world
- WorldEdge(Direction) - Constructor for class za.co.wethinkcode.robots.server.world.WorldEdge
- WorldFullException - Exception Class in za.co.wethinkcode.robots.errors
- WorldFullException() - Constructor for exception class za.co.wethinkcode.robots.errors.WorldFullException
- WorldKnowledge - Record Class in za.co.wethinkcode.robots.client.memory
-
Local record class that stores the knowledge the client has of the world it is connected to.
- WorldKnowledge(String, String, int, int[], int, int, int, int, int, int) - Constructor for record class za.co.wethinkcode.robots.client.memory.WorldKnowledge
-
Creates an instance of a
WorldKnowledgerecord class. - WorldMap - Class in za.co.wethinkcode.robots.server.world
-
WorldMap answers questions about a single location in the world: is it in bounds, is it a wall, is it an obstacle, is a robot standing there, and is it therefore a valid place for a robot to be.
- WorldMap(int, int, List<Position>, Supplier<Collection<Robot>>) - Constructor for class za.co.wethinkcode.robots.server.world.WorldMap
- WorldMap(SavedWorld) - Constructor for class za.co.wethinkcode.robots.server.world.WorldMap
-
Create a new worldMap from a previously saved world
- WorldObject - Interface in za.co.wethinkcode.robots.server.world
-
Standard World Object Interface that allows polymorphic implementation of Objects in the World
- worldPrint(String) - Static method in class za.co.wethinkcode.robots.rendering.ClientTextRenderer
- WorldRepository - Interface in za.co.wethinkcode.robots.server.persistence
-
Data-access contract for persisting a
SavedWorld. - WorldRules - Record Class in za.co.wethinkcode.robots.server.persistence
-
The timing and combat rules of a saved world.
- WorldRules(int, int, int, int, int) - Constructor for record class za.co.wethinkcode.robots.server.persistence.WorldRules
-
Creates an instance of a
WorldRulesrecord class. - worldSize() - Method in class za.co.wethinkcode.robots.cli.ServerOptions
Z
- za.co.wethinkcode.robots - package za.co.wethinkcode.robots
-
The Parent module of the entire Robot World Game, both server and client.
- za.co.wethinkcode.robots.api - package za.co.wethinkcode.robots.api
-
Behaviour related to the behaviour and interactions with the robot-world api
- za.co.wethinkcode.robots.cli - package za.co.wethinkcode.robots.cli
-
Classes in this package encapsulate interactions with the Robot Worlds Server CLI
- za.co.wethinkcode.robots.cli.help - package za.co.wethinkcode.robots.cli.help
- za.co.wethinkcode.robots.client - package za.co.wethinkcode.robots.client
-
Parent module of the client of the Robot World Game
- za.co.wethinkcode.robots.client.commands - package za.co.wethinkcode.robots.client.commands
- za.co.wethinkcode.robots.client.memory - package za.co.wethinkcode.robots.client.memory
- za.co.wethinkcode.robots.client.networking - package za.co.wethinkcode.robots.client.networking
-
Classes in the client.networking module encapsulate the way the Robot Worlds Client interacts with the network
- za.co.wethinkcode.robots.domain - package za.co.wethinkcode.robots.domain
-
Classes in the domain package encapsulate shared domain specific behaviour between the server and client
- za.co.wethinkcode.robots.errors - package za.co.wethinkcode.robots.errors
-
This package contains custom errors designed for implementation in the Robot World
- za.co.wethinkcode.robots.rendering - package za.co.wethinkcode.robots.rendering
-
This module contains classes required for rendering the server UI
- za.co.wethinkcode.robots.rendering.gui - package za.co.wethinkcode.robots.rendering.gui
-
Classes in this package encapsulate the behavior of the robot worlds client GUI
- za.co.wethinkcode.robots.rendering.gui.ui - package za.co.wethinkcode.robots.rendering.gui.ui
- za.co.wethinkcode.robots.server - package za.co.wethinkcode.robots.server
-
Parent module for the server of the Robot World game
- za.co.wethinkcode.robots.server.commands - package za.co.wethinkcode.robots.server.commands
-
This module stores all commands executed in the Robot World Game
- za.co.wethinkcode.robots.server.commands.external - package za.co.wethinkcode.robots.server.commands.external
-
This package represents all commands sent in from clients in the Robot World Game
- za.co.wethinkcode.robots.server.commands.internal - package za.co.wethinkcode.robots.server.commands.internal
-
This package contains all commands that are called by the server administrator in the Robot World Game.
- za.co.wethinkcode.robots.server.config - package za.co.wethinkcode.robots.server.config
-
Classes and submodules in this module are responsible for configuring the server
- za.co.wethinkcode.robots.server.networking - package za.co.wethinkcode.robots.server.networking
-
Classes in this package encapsulate networking related behavior e.g.
- za.co.wethinkcode.robots.server.persistence - package za.co.wethinkcode.robots.server.persistence
-
Classes contained in this module encapsulate the behavior of the database
- za.co.wethinkcode.robots.server.robots - package za.co.wethinkcode.robots.server.robots
-
This package contains all functionality related to the titular Robots of the Robot World Game
- za.co.wethinkcode.robots.server.world - package za.co.wethinkcode.robots.server.world
-
Classes and submodules in this module encapsulate all functionality of the world
- za.co.wethinkcode.robots.webapi - package za.co.wethinkcode.robots.webapi
-
This package encapsulates all the behavior relevant to the web api layer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form