public void updateItem(Player player) {
   if (player.getPosition().equals(currentItem.getPosition())) {
     currentItem.setTaken(player.getPosition());
   }
 }
 public boolean hasWon(Player player) {
   return (currentItem.isTaken() && currentMap.getSpawnPosition().equals(player.getPosition()));
 }
 @Override
 public Position getItemPosition() {
   return currentItem.getPosition();
 }