note
	description: "A GAME_HAPTIC_EFFECT that has been compiled for a GAME_HAPTIC"
	author: "Louis Marchand"
	date: "Tue, 03 Mar 2015 15:22:37 +0000"
	revision: "2.0"

class interface
	GAME_HAPTIC_EFFECT_COMPILED

create 
	make

feature -- Access

	index: INTEGER_32
			-- Unique identifier of Current

	haptic: GAME_HAPTIC
			-- The GAME_HAPTIC that Current is compiled with

	effect: GAME_HAPTIC_EFFECT
			-- The GAME_HAPTIC_EFFECT that is compiled into Current

	is_open: BOOLEAN
			-- Is Current presently usable

	close
			-- Remove Current from the compiled effect of haptic
		require
				is_open

	play
			-- Launch a single iteration of Current into the haptic
		require
				is_open

	play_with_loop (a_loop: NATURAL_32)
			-- Launch Current on the haptic and restart it (including the envelope)
			-- a_loop time.
		require
				is_open

	play_infinite_loop
			-- Launch Current on the haptic and restart it forever
			-- (including the envelope). You can use stop to kill the effect.
		require
				is_open

	stop
			-- Kill a playing effect
		require
				is_open

	is_playing: BOOLEAN
			-- Is Current being played on the haptic
		require
				is_open
				haptic.is_status_query_supported
	
end -- class GAME_HAPTIC_EFFECT_COMPILED

Generated by ISE EiffelStudio