Generic ad events are handled here
Called when the ads manager was loaded. We register all ad related events here, and initialize the manager with the game width/height
When the ad starts playing, and the game should be paused
When the ad is finished and the game should be resumed
Doing an ad request, if anything is wrong with the lib (missing ima3, failed request) we just dispatch the contentResumed event Otherwise we display an ad
Generated using TypeDoc
Checks if the ads are enabled (e.g; adblock is enabled or not)