コード例 #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
ファイル: Othello.cs プロジェクト: TUS-OSK/MakeOthello
 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
ファイル: GamePanel.cs プロジェクト: sunstylepop/PhotonTest
 private void DisableButtonHolder(PassEvent e)
 {
     ButtonHolder.SetActive(false);
     TimerHolder.SetActive(false);
 }