class 'l_14_village' (LevelEventHandler)

function l_14_village:__init(name)
	LevelEventHandler.__init(self, name)
	
	-- animations ----------------------------------
	
	
	-- link scenes ---------------------------------
	LinkScene('area_link_13', 'CursorDoorDown', 'l_13_junk_shop')
	LinkScene('area_link_17', 'CursorDoorUp',   'l_17_lighthouse')
	LinkScene('area_link_20', 'CursorDoorUp',   'l_20_port')
	LinkScene('area_link_ho', 'CursorGlass',    'l_14_village_ho', nil, nil, true)
	
	-- zoom zones ----------------------------------
	
	-- ZOOM WAGON
	do
	    CreateSmartZoomZone('wagon')
	    ---------------------
	end
	
	-- ZOOM CRANE
	do
	    CreateSmartZoomZone('crane')
	    ---------------------
	end
end

function l_14_village:OnUpdate(dt)
end

function l_14_village:OnAllItemsFound()
end

function l_14_village:OnObjectMouseEnter(object)
end

function l_14_village:OnObjectMouseLeave(object)
end

function l_14_village:OnScreenObjectMouseDown(object, key)
end

function l_14_village:OnObjectMouseDownProcessed(is_wrong_click)
end

function l_14_village:OnMouseMove(previous_pos, current_pos)
end

function l_14_village:OnObjectMouseUp(object)
end

function l_14_village:OnObjectFound(object)
end

function l_14_village:OnToolFound(tool)
end

function l_14_village:OnToolApply(tool, object)
end

function l_14_village:OnToolAddToInventory(tool)
end

function l_14_village:OnObjectReachPanel(object)
end

function l_14_village:OnButtonPress(title)
end

function l_14_village:OnSetTool(tool)
end

function l_14_village:OnLoaded()
end

function l_14_village:OnDestroy()
end

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_14_village:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/14_village/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/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_13',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_17',anim,136,290,100,0,1,2)
	
	anim = CreateAnimation('data/Texture/Common/area_round.png',0,0,128,128,1,0)
	anim:SetHotSpot(80,64)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_20',anim,744,457,100,0,1.7,1.22)
	
	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_ho',anim,905,521,100,0,1.12,1.4)
	
	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_zoom_wagon',anim,135,517,100,0,1.42,1)
	
	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_zoom_crane',anim,458,490,100,0,1,1.5)
	
end
-- CLEAR_ON_SAVE_END
