// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1367
globals
integer array test_lastClicks_middle_x
integer array test_lastClicks_middle_y
integer int_getLastClick_return_x=0
integer int_getLastClick_return_y=0
endglobals
native testSuccess takes nothing returns nothing
function initGlobals takes nothing returns nothing
endfunction

function getId takes integer i returns integer
	return 0
endfunction

function int_getLastClick takes integer this returns integer
	set this = getId(this)
	set int_getLastClick_return_x = test_lastClicks_middle_x[this]
	set int_getLastClick_return_y = test_lastClicks_middle_y[this]
	return int_getLastClick_return_x
endfunction

function init_test takes nothing returns nothing
	set test_lastClicks_middle_x[0] = 3
	set test_lastClicks_middle_y[0] = 4
	if int_getLastClick(0) == 3 and int_getLastClick_return_y == 4 then
		call testSuccess()
	endif
endfunction

function main takes nothing returns nothing
	call initGlobals()
	call init_test()
endfunction

function config takes nothing returns nothing
endfunction