public Matrix(int length, int height, Creator creator, IFoodDistributionStrategy strategy) { Length = length; Height = height; _creator = creator; EatMatrix = new FoodMatrix(length, height, strategy); Creatures = new Membrane[length, height]; }
public Matrix(int length, int height, Creator creator, IFoodDistributionStrategy strategy) { Length = length; Height = height; _creator = creator; EatMatrix = new FoodMatrix(length, height, strategy); Creatures = new Membrane[length, height]; }
public FoodMatrix(int length, int height, IFoodDistributionStrategy strategy) { _matrix = new int[length, height]; _strategy = strategy; }
public FoodMatrix(int length, int height, IFoodDistributionStrategy strategy) { _matrix = new int[length, height]; _strategy = strategy; }