Uses of Class
za.co.wethinkcode.robots.errors.TooManyOfYouException
Packages that use TooManyOfYouException
Package
Description
Behaviour related to the behaviour and interactions with the robot-world api
Classes and submodules in this module encapsulate all functionality of the world
-
Uses of TooManyOfYouException in za.co.wethinkcode.robots.api
Methods in za.co.wethinkcode.robots.api with parameters of type TooManyOfYouExceptionModifier and TypeMethodDescriptionstatic com.google.gson.JsonObjectServerAPI.error(TooManyOfYouException e) Overload to send back a specific error message for the customTooManyOfYouExceptionexception -
Uses of TooManyOfYouException in za.co.wethinkcode.robots.server.world
Methods in za.co.wethinkcode.robots.server.world that throw TooManyOfYouExceptionModifier and TypeMethodDescriptionvoidShallow call toWorldMap.addRobot(Robot)voidFind the spawn of a robot, if viable, and addvoidWorld.addRobotAt(Robot robot, Position position) Adds a robot to the world at an exact position, preserving whatever shields/shots/status it already carries.voidWorldMap.addRobotToMap(Robot robot, Position position)