code: public void addEntities(String[][] entityArray) {
          for (String[] anEntityArray : entityArray) {
              addEntity(anEntityArray[0], Integer.parseInt(anEntityArray[1]));
          }
      }
docs: <p>
  Adds entities to this entity.
  </p>
  
  @param entityArray
  array of entities to be added