Button.handleEvent

How the button determines when it has been pressed Collects events and if the events signify the button has been pressed, calls the button's action

class Button
void
handleEvent
(
SDL_Event event
)

Meta