public SocietyComponent getSocietyComponent(int i) { if (i != 0) { throw new IllegalArgumentException("Asked for society " + i + " when only 1, index 0, allowed"); } return society;
public SocietyComponent getSocietyComponent() { return this.societyComponent;
  public SocietyComponent getSocietyComponent(int i) {    if (i != 0) {      throw new IllegalArgumentException("Asked for society " + i + " when only 1, index 0, allowed");    }    return society;  }