示例#1
0
 private void forgetZombiesFromLastTurn() {
   zombieMemory.clear();
 }
示例#2
0
 private boolean sawZombieLastTurn(RobotInfo zombie) {
   return zombieMemory.contains(zombie.ID);
 }
示例#3
0
 private void rememberZombiesFromThisTurn() {
   for (RobotInfo zombie : nearbyZombies) {
     zombieMemory.add(zombie.ID);
   }
 }