Uses of Class
za.co.wethinkcode.robots.shared.Position
Packages that use Position
Package
Description
This package encapsulates the behavior of all commands sent by a client to be executed on the server
Their unevaluated and evaluated versions are contained here.
All classes in this package manage how robots work on the serverside
Classes that store info about how the world is created and managed
This package contains all classes shared between the server and client binary
It primarily contains enums and interfaces
This package contains classes and records the fulfill the Argument interface
-
Uses of Position in za.co.wethinkcode.robots.server.clientCommands
Methods in za.co.wethinkcode.robots.server.clientCommands that return PositionModifier and TypeMethodDescriptionLaunchClientCommand.LaunchCommandResult.getSpawn()Getter for the spawn point of a RobotConstructors in za.co.wethinkcode.robots.server.clientCommands with parameters of type PositionModifierConstructorDescriptionLaunchCommandResult(InternalResponseCode response, ServerRobot robot, WorldState worldState, Position spawn) -
Uses of Position in za.co.wethinkcode.robots.server.serverRobot
Methods in za.co.wethinkcode.robots.server.serverRobot that return PositionModifier and TypeMethodDescriptionRobotState.position()Returns the value of thepositionrecord component.Constructors in za.co.wethinkcode.robots.server.serverRobot with parameters of type PositionModifierConstructorDescriptionRobotState(Position position, Direction direction, Integer shields, Integer shots, RobotStatus status) Creates an instance of aRobotStaterecord class. -
Uses of Position in za.co.wethinkcode.robots.server.worldinfo
Fields in za.co.wethinkcode.robots.server.worldinfo declared as PositionMethods in za.co.wethinkcode.robots.server.worldinfo that return PositionModifier and TypeMethodDescriptionWorldState.getEmptySpawn()Utility method for getting empty spawn pointsObstacle.getPosition()Getter for an Object's Centre PositionMethods in za.co.wethinkcode.robots.server.worldinfo that return types with arguments of type PositionMethods in za.co.wethinkcode.robots.server.worldinfo with parameters of type PositionModifier and TypeMethodDescriptionvoidMutableWorld.addObjectToWorld(WorldObject worldObject, Position position) Void method to add an instance into the WorldvoidMutableWorld.replaceObjectAtPosition(WorldObject worldObject, Position position) Destructively add an object at a positionvoidMutableWorld.updateObjectPosition(WorldObject worldObject, Position position) Update the position of a world object that already exists in the worldConstructors in za.co.wethinkcode.robots.server.worldinfo with parameters of type PositionModifierConstructorDescriptionObstacle(Obstacle.ObstacleType obstacleType, Position position) Standard Obstacle ConstructorSquareObstacle(Position position) Standard constructor for a Square obstacleConstructor parameters in za.co.wethinkcode.robots.server.worldinfo with type arguments of type PositionModifierConstructorDescriptionWorldState(String worldID, String IPAddress, int reloadTimeInSeconds, int shieldRepairTimeInSeconds, int maximumShieldInHits, int visibilityInKliks, ArrayList<Obstacle> obstacles, ArrayList<Client> clients, KlikGrid klikGrid, org.apache.commons.collections4.bidimap.DualHashBidiMap<Position, WorldObject> whereEverythingIs) Iteration1 WorldState Constructor.