public static bool PollEvent(PassEvent EventAction) { SDL.SDL_Event Result; if (SDL.SDL_PollEvent(out Result) == 1) { EventAction(out Result); return(true); } return(false); }
protected virtual void OnPassEvent(IOthello othello, int pass) { PassEvent?.Invoke(othello, pass); }
public void RaiseEvent(object sender, PassedArgs args) { PassEvent?.Invoke(sender, args); }
private void DisableButtonHolder(PassEvent e) { ButtonHolder.SetActive(false); TimerHolder.SetActive(false); }