public int GetMoveHormoneDensity(Colony colony) { return(_colonyCells[colony].MoveHormoneDensity); }
public void AddMoveHormone(Colony colony, int density) { _colonyCells[colony].MoveHormoneDensity += density; }
public int GetCreatureDensity(Colony colony) { return(_colonyCells[colony].CreatureDensity); }
public void AddColony(Colony newColony) { _colonyCells.Add(newColony, new ColonyCell(newColony)); }
public void AddCreatures(Colony colony, int density) { _colonyCells[colony].CreatureDensity += density; }
public ColonyCell(Colony colony) { Colony = colony; }
private double ComputeCreatureDensityReboundLoss(Colony colony) { return(GetCreatureDensity(colony) * colony.CreatureReboundRatio); }
private double ComputeCreatureDensityMultiplicationGain(Colony colony) { return(GetCreatureDensity(colony) * colony.CreatureMultiplicationRate); }
public void AddMoveHormone(Colony colony, Coord position, int density) { _currentCells[position.Row, position.Col].AddMoveHormone(colony, density); }
public void AddCreatures(Colony colony, Coord position, int density) { _currentCells[position.Row, position.Col].AddCreatures(colony, density); }