note description: "The state of a Joystick hat" author: "Louis Marchand" date: "Thu, 02 Apr 2015 02:40:10 +0000" revision: "2.0" class interface GAME_JOYSTICK_HAT_STATE create {GAME_SDL_ANY} make feature -- Access is_centered: BOOLEAN -- True if the position of Current is in the center is_up: BOOLEAN -- True if the position of Current is to the top is_right: BOOLEAN -- True if the position of Current is to the right is_down: BOOLEAN -- True if the position of Current is to the bottom is_left: BOOLEAN -- True if the position of Current is to the left is_right_up: BOOLEAN -- True if the position of Current is to the right/up is_right_down: BOOLEAN -- True if the position of Current is to the right/down is_left_up: BOOLEAN -- True if the position of Current is to the left/up is_left_down: BOOLEAN -- True if the position of Current is to the left/down end -- class GAME_JOYSTICK_HAT_STATE
Generated by ISE EiffelStudio