示例#1
0
文件: SDLI.cs 项目: razorware/netcore
 internal static extern int SDL_PushEvent(ref SDL_Event _event);
示例#2
0
文件: SDLI.cs 项目: razorware/netcore
 internal static extern int SDL_WaitEventTimeout(out SDL_Event _event, int timeout);
示例#3
0
文件: SDLI.cs 项目: razorware/netcore
 internal static extern int SDL_PollEvent(out SDL_Event _event);
示例#4
0
文件: SDLI.cs 项目: razorware/netcore
 internal static extern int SDL_WaitEvent(out SDL_Event _event);
示例#5
0
        private bool GetEventListener(SDL_Event sdlEvent, out IEventListener listener)
        {
            listener = listeners.Find(el => el.Events.HasEvent((EventType)sdlEvent.type));

            return(listener != null);
        }