From ba7a54d89c764e19078dcfde6748901fef99a85d Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 4 Feb 2011 14:56:36 +0100 Subject: [PATCH] Game: Added a comment about what should be done concerning SDK events handler. --- Game.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Game.ml b/Game.ml index fa3fda2..6f614fe 100644 --- a/Game.ml +++ b/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