Under Debian 8.2, this command should install everything needed:
~~~
-apt-get install libgles2-mesa-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev inkscape mpg123
+apt-get install libgles2-mesa-dev libsdl2-dev libsdl2-image-dev inkscape mpg123
+~~~
+
+Under Windows 64 bits, using msys2, you can install the required packages with:
+
+~~~
+pacman -S mingw-w64-x86_64-angleproject-git mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image
~~~
# Services by submodules
# The implementation varies per platform.
private fun feed_events do end
- # Main method to receive `InputEvent` produced by the system
+ # Hook to receive and respond to `event` triggered by the user or system
#
# Returns whether or not the event is used or intercepted.
# If `true`, the event will not be processed further by the system.
# Returns `false` to intercepts events like the back key on mobile devices.
#
- # This method should be refined by client modules to react to user inputs.
+ # The instances passed as `event` may be freed (or overwritten),
+ # right after this method returns. They should not be preserved.
fun accept_event(event: InputEvent): Bool do return false
end