Interface EventHandler

An interface that just defines an object that can collect and respond to sdl events Event handlers can be added to a display to add unique behaviour for events

interface EventHandler ;

Methods

NameDescription
handleEvent Takes in an SDL event and should define what behaviour should happen for specific events