/// <summary> /// When a game ends it starts a new one /// </summary> /// <param name="game"></param> private void Solo_MicrogameEnded(object sender, MicrogameEventArgs game) { runningMicrogames.Remove(game.Sender); var newGame = RegisterNewSoloMicrogame(game.Sender); runningMicrogames.Add(newGame); }
/// <summary> /// Call this to log some information about new created microgame /// </summary> /// <param name="args"></param> protected void MicrogameCreated(MicrogameEventArgs args) { microgameEventArgs = args; OnMicrogameCreated?.Invoke(this, args); }
private void MicrogameCreated(object sender, MicrogameEventArgs e) { // maybe save it to a list so I can see which ones are upcoming or something Console.WriteLine(e); }