Uses of Class
za.co.wethinkcode.robots.server.world.World
Packages that use World
Package
Description
This package contains custom errors designed for implementation in the Robot World
This module contains classes required for rendering the server UI
Parent module for the server of the Robot World game
This module stores all commands executed in the Robot World Game
This package represents all commands sent in from clients in the Robot World Game
This package contains all commands that are called by the server administrator in the Robot World Game.
Classes in this package encapsulate networking related behavior e.g.
This package contains all functionality related to the titular Robots of the Robot World Game
This package encapsulates all the behavior relevant to the web api layer
-
Uses of World in za.co.wethinkcode.robots.errors
Constructors in za.co.wethinkcode.robots.errors with parameters of type World -
Uses of World in za.co.wethinkcode.robots.rendering
Methods in za.co.wethinkcode.robots.rendering with parameters of type WorldModifier and TypeMethodDescriptionstatic StringServerRenderer.formatWorldToWorldMap(World world) Formatter for the whole worldstatic StringServerRenderer.formatWorldWithinConstraints(Position viewPoint, World world) static voidTextRenderer.logWorldCreation(World world) Log the specs of a world when it is created, printing out its specifications, as well as a picture to the server admin consolestatic voidServerRenderer.printWorld(World world) -
Uses of World in za.co.wethinkcode.robots.server
Constructors in za.co.wethinkcode.robots.server with parameters of type WorldModifierConstructorDescriptionServer(WorldConfig config, World world) The standard constructor of a new ServerSingleThreadConnection(World world, ClientID id) SingleThreadConnection(World world, ConnectedClient client, Consumer<ClientID> onDisconnect) -
Uses of World in za.co.wethinkcode.robots.server.commands
Methods in za.co.wethinkcode.robots.server.commands with parameters of type WorldModifier and TypeMethodDescriptionabstract com.google.gson.JsonObjectModern a modern OO implementation of the execute methodabstract StringCommand.executeToString(World world) Each command must implement this method It does the work and returns a resultprotected RobotHelper: look up the robot in the worldstatic voidStateful.purgeCheck(World world, String robotName) default StatusVerify if a command is able to be executed given the current state of the robot.static StatusStateful.verifyInternal(World world, com.google.gson.JsonObject obj) static StatusStateful.verifyInternal(World world, String robotName) Static internal method that allows this to be called statically if needed -
Uses of World in za.co.wethinkcode.robots.server.commands.external
Methods in za.co.wethinkcode.robots.server.commands.external with parameters of type WorldModifier and TypeMethodDescriptioncom.google.gson.JsonObjectModern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectModern a modern OO implementation of the execute methodcom.google.gson.JsonObjectBackCommand.executeToString(World world) ClientHelpCommand.executeToString(World world) Each command must implement this method It does the work and returns a resultClientQuitCommand.executeToString(World world) FireCommand.executeToString(World world) ForwardCommand.executeToString(World world) LaunchCommand.executeToString(World world) LookCommand.executeToString(World world) MineCommand.executeToString(World world) Deprecated.OrientationCommand.executeToString(World world) ReloadCommand.executeToString(World world) RepairCommand.executeToString(World world) StateCommand.executeToString(World world) TurnCommand.executeToString(World world) WorldCommand.executeToString(World world) Verify if a command is able to be executed given the current state of the robot. -
Uses of World in za.co.wethinkcode.robots.server.commands.internal
Methods in za.co.wethinkcode.robots.server.commands.internal that return WorldModifier and TypeMethodDescriptionRestoreCommand.fromCommand(WorldRepository repository, String resolvedName) Methods in za.co.wethinkcode.robots.server.commands.internal with parameters of type WorldModifier and TypeMethodDescriptionvoidDump callsDumpCommand.formatDumpString(World)internally, then makes a shallow call toServerRenderervoidvoidRestoreCommand.execute(World world, WorldRepository repository, String name) voidRestoreCommand.execute(World world, WorldRepository repository, Supplier<Boolean> hasActiveConnections, String name) voidvoidSaveCommand.execute(World world, WorldRepository repository, String name) voidDumpCommand.formatDumpString(World world) Take in a World and return the appropriately formatted dump stringvoidPurgeCommand.purgeRobot(World world, String robotName) Constructors in za.co.wethinkcode.robots.server.commands.internal with parameters of type WorldModifierConstructorDescriptionServerCommands(World world, WorldRepository repository, Supplier<Boolean> hasActiveConnections) -
Uses of World in za.co.wethinkcode.robots.server.networking
Methods in za.co.wethinkcode.robots.server.networking with parameters of type WorldModifier and TypeMethodDescriptionstatic ClientIDConnectedClient.generateClientId(World w, Socket s) Constructors in za.co.wethinkcode.robots.server.networking with parameters of type WorldModifierConstructorDescriptionConnectedClient(Socket s, World w) Standard constructor for a Connected Client -
Uses of World in za.co.wethinkcode.robots.server.robots
Methods in za.co.wethinkcode.robots.server.robots with parameters of type WorldModifier and TypeMethodDescriptionvoidRobot.statusSync(World world) Take in the world as it is, and sync theStatusof the robot internally. -
Uses of World in za.co.wethinkcode.robots.webapi
Constructors in za.co.wethinkcode.robots.webapi with parameters of type WorldModifierConstructorDescriptionHTTP_API_Runtime(WorldConfig config, World world, WorldRepository repository) WorldApiHandler(World world, WorldRepository repository) WorldApiServer(WorldConfig worldConfig, World world, WorldRepository repository)