public override void doStep() { if (Simulator.CurrentRound > 0 && Simulator.CurrentRound % Config.STC_period == 0) { stc.coordinate(); } base.doStep(); }
protected override void _doStep() { if (coord.x == Config.network_nrX / 2 && coord.y == Config.network_nrY / 2 && Simulator.CurrentRound % Config.STC_period == 0 && Simulator.CurrentRound != 0) { CC.coordinate(); //TODO: inject new packets } base._doStep(); }