Direction function ( ) { switch ( this ) { case LEFT : return Direction . RIGHT ; case FORWARD : return Direction . BACKWARD ; case BACKWARD : return Direction . FORWARD ; case RIGHT : return Direction . LEFT ; default : throw new RuntimeException ( "srini_string" ) ; } }
describes the direction opposite to the current value . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean hasStopped concode_elem_sep void rotate concode_elem_sep CardinalDirection worldDirectionOf concode_elem_sep void move concode_elem_sep boolean isInsideRoom concode_elem_sep CardinalDirection getCurrentDirection concode_elem_sep boolean isAtGoal concode_elem_sep boolean hasRoomSensor concode_elem_sep float getEnergyForFullRotation concode_elem_sep int[] getCurrentPosition concode_elem_sep Turn turn concode_elem_sep void setMaze concode_elem_sep int distanceToObstacle concode_elem_sep boolean hasDistanceSensor concode_elem_sep boolean canSeeGoal concode_elem_sep float getBatteryLevel concode_elem_sep void setBatteryLevel concode_elem_sep Direction direction concode_elem_sep float getEnergyForStepForward