Calls closeMethod if an overlay is opened
Should draw the hud
Should draw any overlays (screen space)
Forwards the game speed keybindings so you can toggle pause / Fastforward in the building tooltip and such
Forwards the map movement keybindings so you can move the map with the arrow keys
Forwards the game speed keybindings so you can toggle pause / Fastforward in the building tooltip and such
Should return true if this overlay is open and currently blocking any user interaction
Registers a new click detector
Helper method to construct a new click detector
The element to listen on
The handler to call on this object
Click detector arguments
Closes this element when its background is clicked