Game: Added a comment about what should be done concerning SDK events handler.
This commit is contained in:
parent
5fa095f512
commit
ba7a54d89c
1 changed files with 5 additions and 1 deletions
6
Game.ml
6
Game.ml
|
@ -39,7 +39,11 @@ let init game =
|
|||
()
|
||||
;;
|
||||
|
||||
|
||||
(* FIXME: create some event mapper using configuration
|
||||
* lile « var event_config_map : game_config -> sdl_event -> event_action »
|
||||
* and use it to match event_actions (for game actions) instead of matching SDL
|
||||
* events
|
||||
*)
|
||||
let add_actions game =
|
||||
let anon_handler anon_ev =
|
||||
match anon_ev with
|
||||
|
|
Loading…
Reference in a new issue