public void addToPlayersAndFriends(RPEntity object){
  if (!playersAndFriends.contains(object)) {
    playersAndFriends.add(object);
  }
}

public void addToPlayersAndFriends ( RPEntity object ) { if ( ! playersAndFriends . contains ( object ) ) { playersAndFriends . add ( object ) ; } }
adds an rpentity to the playersandfriends list .
