|Deletions are marked like this.||Additions are marked like this.|
|Line 26:||Line 26:|
|If you need to check for a range of event types, use [[SDL_HasEvents]] instead.||If you need to check for a range of event types, use [[SDL_HasEvents]]() instead.|
Use this function to check for the existence of certain event types in the event queue.
SDL_bool SDL_HasEvent(Uint32 type)
the type of event to be queried; see SDL_EventType for details
Returns SDL_TRUE if events matching type are present, or SDL_FALSE if events matching type are not present.
You can add your code example here
If you need to check for a range of event types, use SDL_HasEvents() instead.