예제 #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);
 }