public Prey(Ocean ocean, int timeToReproduce = 6) : base(ocean) { TIME_TO_REPRODUCE = timeToReproduce; _timeToReproduce = timeToReproduce; _rand = new MyRandom(); }
public Ocean() { _rand = new MyRandom(); _numRows = NUM_ROWS; _numCols = NUM_COLS; _numObstacles = NUM_OBSTACLES; _numPredators = NUM_PREDATORS; _numPreys = NUM_PREY; _iter = ITER; InitCells(this); }