public bool CheckForWaterfall(int i, int j) { for (int index = 0; index < this.currentMax; ++index) { if (this.waterfalls[index].x == i && this.waterfalls[index].y == j) return true; } return false; }