Ejemplo n.º 1
0
 private void RestartManager()
 {
     InitLeds(this.preferredMode, this.ledCount, this.reverseOrder);
     CurrentLEDModule = null;
     ProcessListenerService.Restart();
 }
Ejemplo n.º 2
0
 private void RestartManager(LightingMode preferredMode, int ledCount, bool reverseOrder) // TODO: Keep game state (i.e. league of legends cooldowns etc)
 {
     InitLeds(this.preferredMode, ledCount, reverseOrder);
     CurrentLEDModule = null; // restart the whole service (force module reload)
     ProcessListenerService.Restart();
 }