Beispiel #1
0
 public void AddController(IGameController controller)
 {
     controller.Installed   += Controller_Installed;
     controller.Uninstalled += Controller_Uninstalled;
     controller.Started     += Controller_Started;
     controller.Stopped     += Controller_Stopped;
     Controllers.Add(controller);
     database?.AddActiveController(controller);
 }