note
	description: "d_event.h"
	license: "[
		Copyright (C) 1993-1996 by id Software, Inc.
		Copyright (C) 2005-2014 Simon Howard
		Copyright (C) 2021 Ilgiz Mustafin
		
		This program is free software; you can redistribute it and/or modify
		it under the terms of the GNU General Public License as published by
		the Free Software Foundation; either version 2 of the License, or
		(at your option) any later version.
		
		This program is distributed in the hope that it will be useful,
		but WITHOUT ANY WARRANTY; without even the implied warranty of
		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
		GNU General Public License for more details.
		
		You should have received a copy of the GNU General Public License along
		with this program; if not, write to the Free Software Foundation, Inc.,
		51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
	]"

class 
	EVENT_T

create 
	make

feature 

	make
		do
		end
	
feature -- evtype_t

	Ev_keydown: INTEGER_32 = 0

	Ev_keyup: INTEGER_32 = 1

	Ev_mouse: INTEGER_32 = 2

	Ev_joystick: INTEGER_32 = 3

	Ev_quit: INTEGER_32 = 4
			-- Quit event. Triggered when the user clicks the "close" button
			-- to terminate the application
	
feature -- Fields

	type: INTEGER_32 assign set_type

	set_type (a_type: like type)
		do
			type := a_type
		end

	data1: INTEGER_32 assign set_data1
			-- keys / mouse/joystick buttons

	set_data1 (a_data1: like data1)
		do
			data1 := a_data1
		end

	data2: INTEGER_32 assign set_data2
			-- mouse/joystick x move

	set_data2 (a_data2: like data2)
		do
			data2 := a_data2
		end

	data3: INTEGER_32 assign set_data3
			-- mouse/joystick y move

	set_data3 (a_data3: like data3)
		do
			data3 := a_data3
		end
	
end -- class EVENT_T

Generated by ISE EiffelStudio