Class Memory

java.lang.Object
za.co.wethinkcode.robots.client.Memory

public class Memory extends Object
This class stores the memory of the currently running client The currently selected robot as well as all the robots launched
  • Constructor Details

    • Memory

      public Memory()
  • Method Details

    • add

      public void add(ClientRobot newRobot)
    • addAndSetCurrentRobot

      public void addAndSetCurrentRobot(ClientRobot currentRobot)
    • setCurrentRobot

      public void setCurrentRobot(ClientRobot currentRobot)
    • setCurrentRobot

      public void setCurrentRobot(String currentRobot)
    • getCurrentRobot

      public ClientRobot getCurrentRobot()