module Eagle::Platform

Overview

The operating-system layer: window, input events, timing, audio output and gamepads. Eagle ships an SDL2 backend for desktop and a browser backend for WebAssembly.

Games use Window, Input and Audio instead. Read this module only when porting Eagle to a new platform.

Defined in:

eagle/platform/base.cr
eagle/platform/sdl.cr