class GAME_HAPTIC_DIRECTION General cluster: haptic description: "Represent the direction that an effect come from (an not where it goes, be carefull). Cardinal directions of the haptic device are relative to the positioning of the device. North is considered to be away from the user, south is toward the user, east is right, and west is left of the user: .--. |__| .-------. |=.| |.-----.| |--| || || | | |'-----'| |__|~')_____(' [ COMPUTER ] North (0,-1) ^ | | (-1,0) West <----[ HAPTIC ]----> East (1,0) | | v South (0,1) [ USER ] \|||/ (o o) ---ooO-(_)-Ooo---" create: make_by_pointer Ancestors MEMORY_STRUCTURE* Queries exists: BOOLEAN is_cartesian: BOOLEAN is_equal (a_other: [like Current] GAME_HAPTIC_DIRECTION): BOOLEAN is_polar: BOOLEAN is_spherical: BOOLEAN is_values_equal (a_other: GAME_HAPTIC_DIRECTION): BOOLEAN item: POINTER shared: BOOLEAN structure_size: INTEGER_32 Commands make make_by_pointer (a_ptr: POINTER) Constraints type valid
Generated by ISE EiffelStudio