@@ -177,6 +177,8 @@ public strictfp interface RobotController {
177177 * @param radius the radius of the circle to check.
178178 * @return true if the circle is completely on the map, false otherwise.
179179 * @throws GameActionException if any portion of the given circle is not within sensor range.
180+ *
181+ * @battlecode.doc.costlymethod
180182 */
181183 boolean onTheMap (MapLocation center , float radius ) throws GameActionException ;
182184
@@ -364,7 +366,7 @@ public strictfp interface RobotController {
364366 BulletInfo senseBullet (int id ) throws GameActionException ;
365367
366368 /**
367- * Returns all robots that can be sensed on the map .
369+ * Returns all robots within sense radius .
368370 *
369371 * @return array of RobotInfo objects, which contain information about all
370372 * the robots you sensed.
@@ -378,7 +380,7 @@ public strictfp interface RobotController {
378380 * robot.
379381 *
380382 * @param radius return robots this distance away from the center of
381- * this robot. If -1 is passed, robots from the whole map are returned.
383+ * this robot. If -1 is passed, all robots within sense radius are returned.
382384 * @return array of RobotInfo objects of all the robots you sensed.
383385 *
384386 * @battlecode.doc.costlymethod
@@ -390,7 +392,7 @@ public strictfp interface RobotController {
390392 * radius of this robot.
391393 *
392394 * @param radius return robots this distance away from the center of
393- * this robot. If -1 is passed, robots from the whole map are returned.
395+ * this robot. If -1 is passed, all robots within sense radius are returned.
394396 * @param team filter game objects by the given team. If null is passed,
395397 * robots from any team are returned.
396398 * @return array of RobotInfo objects of all the robots you sensed.
@@ -405,7 +407,7 @@ public strictfp interface RobotController {
405407 *
406408 * @param center center of the given search radius.
407409 * @param radius return robots this distance away from the given center
408- * location. If -1 is passed, robots from the whole map are returned.
410+ * location. If -1 is passed, all robots within sense radius are returned.
409411 * @param team filter game objects by the given team. If null is passed,
410412 * objects from all teams are returned.
411413 * @return array of RobotInfo objects of the robots you sensed.
@@ -415,7 +417,7 @@ public strictfp interface RobotController {
415417 RobotInfo [] senseNearbyRobots (MapLocation center , float radius , Team team );
416418
417419 /**
418- * Returns all trees that can be sensed on the map .
420+ * Returns all trees within sense radius .
419421 *
420422 * @return array of TreeInfo objects, which contain information about all
421423 * the trees you sensed.
@@ -429,7 +431,7 @@ public strictfp interface RobotController {
429431 * robot.
430432 *
431433 * @param radius return trees this distance away from the center of
432- * this robot. If -1 is passed, trees from the whole map are returned.
434+ * this robot. If -1 is passed, all trees within sense radius are returned.
433435 * @return array of TreeInfo objects of all the trees you sensed.
434436 *
435437 * @battlecode.doc.costlymethod
@@ -441,7 +443,7 @@ public strictfp interface RobotController {
441443 * radius of this robot.
442444 *
443445 * @param radius return trees this distance away from the center of
444- * this robot. If -1 is passed, trees from the whole map are returned.
446+ * this robot. If -1 is passed, all trees within sense radius are returned.
445447 * @param team filter game objects by the given team. If null is passed,
446448 * robots from any team are returned.
447449 * @return array of TreeInfo objects of all the trees you sensed.
@@ -456,7 +458,7 @@ public strictfp interface RobotController {
456458 *
457459 * @param center center of the given search radius.
458460 * @param radius return trees this distance away from given center
459- * location. If -1 is passed, trees from the whole map are returned.
461+ * location. If -1 is passed, all trees within sense radius are returned.
460462 * @param team filter game objects by the given team. If null is passed,
461463 * objects from all teams are returned.
462464 * @return array of TreeInfo objects of the trees you sensed.
@@ -466,7 +468,7 @@ public strictfp interface RobotController {
466468 TreeInfo [] senseNearbyTrees (MapLocation center , float radius , Team team );
467469
468470 /**
469- * Returns all bullets that can be sensed on the map .
471+ * Returns all bullets within bullet sense radius .
470472 *
471473 * @return array of BulletInfo objects, which contain information about all
472474 * the bullets you sensed.
@@ -493,7 +495,7 @@ public strictfp interface RobotController {
493495 *
494496 * @param center center of the given search radius.
495497 * @param radius return bullets this distance away from the given center
496- * location. If -1 is passed, bullets from the whole map are returned.
498+ * location. If -1 is passed, all bullets within bullet sense radius are returned. .
497499 * @return array of TreeInfo objects of the bullets you sensed.
498500 *
499501 * @battlecode.doc.costlymethod
@@ -844,22 +846,24 @@ public strictfp interface RobotController {
844846 void shake (int id ) throws GameActionException ;
845847
846848 /**
847- * Returns true if the robot can water a tree. Takes into accout the
849+ * Determines whether the robot can water a tree. Takes into accout the
848850 * robot's type, if it's already watered this turn, and if a valid
849- * tree exists at this location within range.
851+ * tree at this location exists within range.
850852 *
851853 * @param loc The location of a tree to check.
854+ * @return true if this robot can water a tree, false otherwise.
852855 *
853856 * @battlecode.doc.costlymethod
854857 */
855858 boolean canWater (MapLocation loc );
856859
857860 /**
858- * Returns true if the robot can water a tree. Takes into accout the
861+ * Determines whether the robot can water a tree. Takes into accout the
859862 * robot's type, if it's already watered this turn, and if a valid
860- * tree exists with this id within range
863+ * tree with this id exists within range.
861864 *
862865 * @param id The id of a tree to check.
866+ * @return true if this robot can water a tree, false otherwise.
863867 *
864868 * @battlecode.doc.costlymethod
865869 */
@@ -1142,6 +1146,8 @@ public strictfp interface RobotController {
11421146 * @param green the green component of the dot's color.
11431147 * @param blue the blue component of the dot's color.
11441148 * @throws GameActionException if loc is not a valid location on the map
1149+ *
1150+ * @battlecode.doc.costlymethod
11451151 */
11461152 void setIndicatorDot (MapLocation loc , int red , int green , int blue ) throws GameActionException ;
11471153
@@ -1154,6 +1160,8 @@ public strictfp interface RobotController {
11541160 * @param green the green component of the line's color.
11551161 * @param blue the blue component of the line's color.
11561162 * @throws GameActionException if startLoc or endLoc is not a valid location on the map
1163+ *
1164+ * @battlecode.doc.costlymethod
11571165 */
11581166 void setIndicatorLine (MapLocation startLoc , MapLocation endLoc , int red , int green , int blue ) throws GameActionException ;
11591167
0 commit comments