game_window: added on_event (catching sfml events)