void FireCreateEvent(object sender, LessThanOk.UI.Events.ButtonEventArgs e) { if (CreateGame != null) { CreateGame.Invoke(this, EventArgs.Empty); } }
public void TriggerButtonPress(object sender, ButtonEventArgs args) { ButtonPress.Invoke(sender, args); }
void FireReplayEvent(object sender, ButtonEventArgs e) { if (ReplayGame != null) ReplayGame.Invoke(this, EventArgs.Empty); }
void FireJoinEvent(object sender, ButtonEventArgs e) { if(JoinGame != null) JoinGame.Invoke(this, EventArgs.Empty); }
void TriggerQuitEvent(object sender, ButtonEventArgs e) { if (QuitEvent != null) QuitEvent.Invoke(this, EventArgs.Empty); }
void TriggerAddEvent(object sender, ButtonEventArgs e) { if(AddUnitEvent != null) AddUnitEvent.Invoke(sender, EventArgs.Empty); }