示例#1
0
        public static bool PollEvent(PassEvent EventAction)
        {
            SDL.SDL_Event Result;

            if (SDL.SDL_PollEvent(out Result) == 1)
            {
                EventAction(out Result);

                return(true);
            }

            return(false);
        }
示例#2
0
 protected virtual void OnPassEvent(IOthello othello, int pass)
 {
     PassEvent?.Invoke(othello, pass);
 }
示例#3
0
 public void RaiseEvent(object sender, PassedArgs args)
 {
     PassEvent?.Invoke(sender, args);
 }
示例#4
0
 private void DisableButtonHolder(PassEvent e)
 {
     ButtonHolder.SetActive(false);
     TimerHolder.SetActive(false);
 }