title: Static Array of the object the array is created in. Is this good or bad?
body: <p>As you can see, I've created (instantiated?) a static array of Corner objects in the object Corner. Is this good form? I want all the Corner object to have access to all the other Corner objects.</p>
  
  <pre><code>package Main;
  
  public class Corner {
  
  private String biome;
  
  private static Corner[][] corners;
  
  private float elevation, moisture, heat;
  
  private boolean isRiver, isLake;
  
  private int x, y;
  
  public void createArray(int width, int height) {
  
      corners = new Corner[width][height];
  
  }
  
  public String getBiome() { return biome; }
  
  public void setBiome(String biome) {
      this.biome = biome;
  }
  
  public float getElevation() { return elevation; }
  
  public void setElevation(float elevation) {
      this.elevation = elevation;
  }
  
  public float getMoisture() {
      return moisture;
  }
  
  public void setMoisture(float moisture) {
      this.moisture = moisture;
  }
  
  public float getHeat() { return heat; }
  
  public void setHeat(float heat) { this.heat = heat; }
  
  public boolean isRiver() {
  
      return false;
  }
  
  public boolean isLake() {
  
      return false;
  }
  
  public static Corner[][] getCorners() {
      return corners;
  }
  }
  </code></pre>
  
  <p>There are no more details to add.</p>