public Vector getEnemyEntities(Player player) {
public Vector getEnemyEntities(Entity entity) {
      public Vector getEnemyEntities(Player player) {        Vector ents = new Vector();        int thisTeam = player.getTeam();                for (Enumeration i = entities.elements(); i.hasMoreElements();) {          Entity entity = (Entity)i.nextElement();                      if (player.isEnemyOf(entity.getOwner())) {            ents.addElement( entity );          }        }                return ents;      }