Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions engine/src/main/battlecode/world/RobotControllerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -305,22 +305,19 @@ public boolean sensePassability(MapLocation loc) throws GameActionException {
@Override
public double senseCooldownMultiplier(MapLocation loc) throws GameActionException{
assertCanSenseLocation(loc);
System.out.println("senseBoostTurns is a deprecated method! It is at risk of being removed.");
return this.gameWorld.getCooldownMultiplier(loc, getTeam());
}

@Override
public int senseDestabilizeTurns(MapLocation loc) throws GameActionException{
assertCanSenseLocation(loc);
System.out.println("senseBoostTurns is a deprecated method! It is at risk of being removed.");
int oldestDestabilize = this.gameWorld.getOldestDestabilize(loc, getTeam());
return oldestDestabilize == -1 ? -1 : oldestDestabilize - getRoundNum();
}

@Override
public int senseBoostTurns(MapLocation loc) throws GameActionException{
assertCanSenseLocation(loc);
System.out.println("senseBoostTurns is a deprecated method! It is at risk of being removed.");
int oldestBoost = this.gameWorld.getOldestBoost(loc, getTeam());
return oldestBoost == -1 ? -1 : oldestBoost - getRoundNum();
}
Expand Down