module SFML::Keybindings

Class-level on_key DSL — shared by SFML::App and SFML::Scene. Each class that extends this module gets:

Inheritance: a subclass’s bindings layer on top of the parent’s, so class Sub < Parent; on_key :x, :foo; end keeps the parent’s other bindings while overriding (or adding) :x.