note
	description: "Manage Touch device events"
	author: "Louis Marchand"
	date: "Fri, 17 Apr 2015 02:32:57 +0000"
	revision: "2.0"

deferred class interface
	GAME_TOUCH_DEVICE_EVENTS

feature -- Access

	stop
			-- Put Current innactive.

	run
			-- Put Current active.

	clear
			-- Remove all events.

	finger_motion_actions: ACTION_SEQUENCE [NATURAL_32, GAME_FINGER_EVENT]
			-- When a finger has been moved on Current, finger_state is used to get finger information
		require
			finger_motion_event_enable: events_controller.is_finger_motion_event_enable

	finger_touched_actions: ACTION_SEQUENCE [NATURAL_32, GAME_FINGER_EVENT]
			-- When a finger has been pressed on Current, finger_state is used to get finger information
		require
			finger_touch_event_enable: events_controller.is_finger_touched_event_enable

	finger_released_actions: ACTION_SEQUENCE [NATURAL_32, GAME_FINGER_EVENT]
			-- When a finger has been released on Current, finger_state is used to get finger information
		require
			finger_released_event_enable: events_controller.is_finger_released_event_enable

	fingers_gesture_actions: ACTION_SEQUENCE [NATURAL_32, GAME_FINGERS_GESTURE]
			-- When a fingers simple gesture has been performed on Current,
			-- fingers_gesture is used to get the gesture informations
		require
			fingers_gesture_event_enable: events_controller.is_fingers_gesture_event_enable

	dollar_gesture_actions: ACTION_SEQUENCE [NATURAL_32, GAME_DOLLAR_GESTURE]
			-- When a $1 gesture has been performed on Current,
			-- dollar_gesture is used to get the gesture informations
		require
			dollar_gesture_event_enable: events_controller.is_dollar_gesture_event_enable

	dollar_record_actions: ACTION_SEQUENCE [NATURAL_32, INTEGER_64]
			-- When a $1 gesture has been recorded on Current (using record_dollar_gesture),
			-- template_hash is used to get the hash of the gesture. This hash will be used
			-- to identified this tempate on future dollar_gesture_actions events
		require
			dollar_record_event_enable: events_controller.is_dollar_record_event_enable

	record_dollar_gesture
			-- Start a $1 gesture recording. The recording will be finish when a dollar_record_actions event
			-- will trigger.
	
end -- class GAME_TOUCH_DEVICE_EVENTS

Generated by ISE EiffelStudio