public Robot() { s = new Sensor(); a = new Actuator(0); for (uint i = 0; i < ARR_SIZE; i++) { position[i] = START_POSITION; } robotDir = 0; //getGrid(); }
public Actuator(Actuator prevAct) { state = prevAct.state; direction = prevAct.direction; }