class 'l_18_lighthouse_inside' (LevelEventHandler)

function l_18_lighthouse_inside:__init(name)
	LevelEventHandler.__init(self, name)
	
	-- animations ----------------------------------
	
	
	-- link scenes ---------------------------------
	LinkScene('area_link_17', 'CursorDoorDown',    'l_17_lighthouse')
	LinkScene('area_link_19', 'CursorDoorRightUp', 'l_19_lighthouse_top')
	LinkScene('area_link_25', 'CursorDoorUp',      'l_25_fort_enter')
	
	-- zoom zones ----------------------------------
	
	
end

function l_18_lighthouse_inside:OnUpdate(dt)
end

function l_18_lighthouse_inside:OnAllItemsFound()
end

function l_18_lighthouse_inside:OnObjectMouseEnter(object)
end

function l_18_lighthouse_inside:OnObjectMouseLeave(object)
end

function l_18_lighthouse_inside:OnScreenObjectMouseDown(object, key)
end

function l_18_lighthouse_inside:OnObjectMouseDownProcessed(is_wrong_click)
end

function l_18_lighthouse_inside:OnMouseMove(previous_pos, current_pos)
end

function l_18_lighthouse_inside:OnObjectMouseUp(object)
end

function l_18_lighthouse_inside:OnObjectFound(object)
end

function l_18_lighthouse_inside:OnToolFound(tool)
end

function l_18_lighthouse_inside:OnToolApply(tool, object)
end

function l_18_lighthouse_inside:OnToolAddToInventory(tool)
end

function l_18_lighthouse_inside:OnObjectReachPanel(object)
end

function l_18_lighthouse_inside:OnButtonPress(title)
end

function l_18_lighthouse_inside:OnSetTool(tool)
end

function l_18_lighthouse_inside:OnLoaded()
end

function l_18_lighthouse_inside:OnDestroy()
end

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_18_lighthouse_inside:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/18_lighthouse_inside/main/layers/bg.JPG',0,0,1024,768,1,0)
	anim:SetHotSpot(512,384)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/18_lighthouse_inside/main/layers/layer_door_open.PNG',0,0,166,296,1,0)
	anim:SetHotSpot(83,148)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('layer_door_open',anim,704,366,51,0,1,1)
	
	anim = CreateAnimation('data/Texture/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_17',anim,512,700,100,0,128,17)
	
	anim = CreateAnimation('data/Texture/Common/area_round.png',0,0,128,128,1,0)
	anim:SetHotSpot(64,64)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_19',anim,413,152,100,32,2.21,3)
	
	anim = CreateAnimation('data/Texture/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_25',anim,710,361,100,0,20,35)
	
end
-- CLEAR_ON_SAVE_END
