private void Run(IAgentUpdater updater, float timeStep = 1f) { var agents = GenerateAgents(numberOfAgents, numberOfWalls, random); for (int i = 0; i < ticks; i++) { updater.Tick(timeStep, agents); } }
void Update() { updater.Tick(timeStep, agents); }