note description: "A GAME_HAPTIC_EFFECT that play depending on internal condition." author: "Louis Marchand" date: "Tue, 03 Mar 2015 20:26:50 +0000" revision: "2.0" class interface GAME_HAPTIC_CONDITION_EFFECT create make feature -- Access length: NATURAL_32 assign set_length -- Duration of Current (in millisecond) set_length (a_length: NATURAL_32) -- Assign length with the value of a_length delay: NATURAL_16 assign set_delay -- delay before starting Current (in millisecond) set_delay (a_delay: NATURAL_16) -- Assign delay with the value of a_delay interval: NATURAL_16 assign set_interval -- how soon before effect can be triggered again (in millisecond) set_interval (a_interval: NATURAL_16) -- Assign interval with the value of a_interval x_axis_positive_level: NATURAL_16 assign set_x_axis_positive_level -- Level when the x axis is on the positive side require exists: exists set_x_axis_positive_level (a_level: NATURAL_16) -- Assign x_axis_positive_level with the value a_level require exists: exists ensure is_assign: x_axis_positive_level = a_level y_axis_positive_level: NATURAL_16 assign set_y_axis_positive_level -- Level when the y axis is on the positive side require exists: exists set_y_axis_positive_level (a_level: NATURAL_16) -- Assign y_axis_positive_level with the value a_level require exists: exists ensure is_assign: y_axis_positive_level = a_level z_axis_positive_level: NATURAL_16 assign set_z_axis_positive_level -- Level when the z axis is on the positive side require exists: exists set_z_axis_positive_level (a_level: NATURAL_16) -- Assign z_axis_positive_level with the value a_level require exists: exists ensure is_assign: z_axis_positive_level = a_level x_axis_negative_level: NATURAL_16 assign set_x_axis_negative_level -- Level when the x axis is on the negative side require exists: exists set_x_axis_negative_level (a_level: NATURAL_16) -- Assign x_axis_negative_level with the value a_level require exists: exists ensure is_assign: x_axis_negative_level = a_level y_axis_negative_level: NATURAL_16 assign set_y_axis_negative_level -- Level when the y axis is on the negative side require exists: exists set_y_axis_negative_level (a_level: NATURAL_16) -- Assign y_axis_negative_level with the value a_level require exists: exists ensure is_assign: y_axis_negative_level = a_level z_axis_negative_level: NATURAL_16 assign set_z_axis_negative_level -- Level when the z axis is on the negative side require exists: exists set_z_axis_negative_level (a_level: NATURAL_16) -- Assign z_axis_negative_level with the value a_level require exists: exists ensure is_assign: z_axis_negative_level = a_level x_axis_positive_coefficient: INTEGER_16 assign set_x_axis_positive_coefficient -- how fast to increase the force towards the x axis positive side require exists: exists set_x_axis_positive_coefficient (a_coefficient: INTEGER_16) -- Assign x_axis_positive_coefficient with the value of a_coefficient require exists: exists ensure is_assign: x_axis_positive_coefficient = a_coefficient y_axis_positive_coefficient: INTEGER_16 assign set_y_axis_positive_coefficient -- how fast to increase the force towards the y axis positive side require exists: exists set_y_axis_positive_coefficient (a_coefficient: INTEGER_16) -- Assign y_axis_positive_coefficient with the value of a_coefficient require exists: exists ensure is_assign: y_axis_positive_coefficient = a_coefficient z_axis_positive_coefficient: INTEGER_16 assign set_z_axis_positive_coefficient -- how fast to increase the force towards the z axis positive side require exists: exists set_z_axis_positive_coefficient (a_coefficient: INTEGER_16) -- Assign z_axis_positive_coefficient with the value of a_coefficient require exists: exists ensure is_assign: z_axis_positive_coefficient = a_coefficient x_axis_negative_coefficient: INTEGER_16 assign set_x_axis_negative_coefficient -- how fast to increase the force towards the x axis negative side require exists: exists set_x_axis_negative_coefficient (a_coefficient: INTEGER_16) -- Assign x_axis_negative_coefficient with the value of a_coefficient require exists: exists ensure is_assign: x_axis_negative_coefficient = a_coefficient y_axis_negative_coefficient: INTEGER_16 assign set_y_axis_negative_coefficient -- how fast to increase the force towards the y axis negative side require exists: exists set_y_axis_negative_coefficient (a_coefficient: INTEGER_16) -- Assign y_axis_negative_coefficient with the value of a_coefficient require exists: exists ensure is_assign: y_axis_negative_coefficient = a_coefficient z_axis_negative_coefficient: INTEGER_16 assign set_z_axis_negative_coefficient -- how fast to increase the force towards the z axis negative side require exists: exists set_z_axis_negative_coefficient (a_coefficient: INTEGER_16) -- Assign z_axis_negative_coefficient with the value of a_coefficient require exists: exists ensure is_assign: z_axis_negative_coefficient = a_coefficient x_axis_dead_zone_length: NATURAL_16 assign set_x_axis_dead_zone_length -- size of the dead zone on the x axis. -- When 0xFFFF: whole axis-range when 0-centered require exists: exists set_x_axis_dead_zone_length (a_length: NATURAL_16) -- Assign x_axis_dead_zone_length with the value a_length require exists: exists ensure is_assign: x_axis_dead_zone_length = a_length y_axis_dead_zone_length: NATURAL_16 assign set_y_axis_dead_zone_length -- size of the dead zone on the y axis. -- When 0xFFFF: whole axis-range when 0-centered require exists: exists set_y_axis_dead_zone_length (a_length: NATURAL_16) -- Assign y_axis_dead_zone_length with the value a_length require exists: exists ensure is_assign: y_axis_dead_zone_length = a_length z_axis_dead_zone_length: NATURAL_16 assign set_z_axis_dead_zone_length -- size of the dead zone on the z axis. -- When 0xFFFF: whole axis-range when 0-centered require exists: exists set_z_axis_dead_zone_length (a_length: NATURAL_16) -- Assign z_axis_dead_zone_length with the value a_length require exists: exists ensure is_assign: z_axis_dead_zone_length = a_length x_axis_dead_zone_center: INTEGER_16 assign set_x_axis_dead_zone_center -- position of the dead zone of the axis x require exists: exists set_x_axis_dead_zone_center (a_coefficient: INTEGER_16) -- Assign x_axis_dead_zone_center with the value of a_coefficient require exists: exists ensure is_assign: x_axis_dead_zone_center = a_coefficient y_axis_dead_zone_center: INTEGER_16 assign set_y_axis_dead_zone_center -- position of the dead zone of the axis y require exists: exists set_y_axis_dead_zone_center (a_coefficient: INTEGER_16) -- Assign y_axis_dead_zone_center with the value of a_coefficient require exists: exists ensure is_assign: y_axis_dead_zone_center = a_coefficient z_axis_dead_zone_center: INTEGER_16 assign set_z_axis_dead_zone_center -- position of the dead zone of the axis z require exists: exists set_z_axis_dead_zone_center (a_coefficient: INTEGER_16) -- Assign z_axis_dead_zone_center with the value of a_coefficient require exists: exists ensure is_assign: z_axis_dead_zone_center = a_coefficient end -- class GAME_HAPTIC_CONDITION_EFFECT
Generated by ISE EiffelStudio