Beispiel #1
0
 public virtual void OnInstalled(object sender, GameControllerEventArgs args)
 {
     execContext.Post((a) => Installed?.Invoke(sender, args), null);
 }
 private void Controller_Starting(object sender, GameControllerEventArgs e)
 {
     Starting?.Invoke(this, e);
 }
 private void Controller_Stopped(object sender, GameControllerEventArgs e)
 {
     Stopped?.Invoke(this, e);
 }
 private void Controller_Installed(object sender, GameControllerEventArgs e)
 {
     Installed?.Invoke(this, e);
 }
Beispiel #5
0
 public virtual void OnStopped(object sender, GameControllerEventArgs args)
 {
     IsGameRunning = false;
     execContext.Post((a) => Stopped?.Invoke(sender, args), null);
 }
Beispiel #6
0
 public virtual void OnStarting(object sender, GameControllerEventArgs args)
 {
     execContext.Post((a) => Starting?.Invoke(sender, args), null);
 }