public void OutsideHardBounds(HardBoundary boundary) { this.HardBoundaries.Remove(boundary); if (this.HardBoundaries.Count <= 0) { this.IsOutsideHardBounds = true; } }
public void InsideHardBounds(HardBoundary boundary) { this.HardBoundaries.Add(boundary); this.LastHardBoundary = boundary; // If this fish just returned from being out of bounds if (this.IsOutsideHardBounds) { // TODO : Direct fishies more inward, otherwise they stay along the boundary edge this.IsOutsideHardBounds = false; } }