class 'l_06_garden_z_gate' (ZoomEventHandler)

function l_06_garden_z_gate:__init(name)
    ZoomEventHandler.__init(self, name)
end

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_06_garden_z_gate:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_gate/z_gate_bg.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_gate/z_gate_close.png',0,0,474,397,1,0)
	anim:SetHotSpot(237,198)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_close',anim,507,425,54,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_gate/z_gate_open.png',0,0,473,382,1,0)
	anim:SetHotSpot(236,191)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_open',anim,507,433,53,0,1,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_link_mg',anim,535,403,100,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_zg_08',anim,510,376,100,0,30,50)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_gate/z_gate_rope.png',0,0,134,134,1,0)
	anim:SetHotSpot(67,67)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_rope',anim,681,379,60,0,1,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_find_zg_rope',anim,680,370,101,0,0.8,0.92)
	
end
-- CLEAR_ON_SAVE_END
