class 'l_11_corridor_z_lock' (ZoomEventHandler)

function l_11_corridor_z_lock:__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_11_corridor_z_lock:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_bg.png',0,0,350,350,1,0)
	anim:SetHotSpot(175,175)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_bg',anim,512,384,50,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_apply_zl_waiter_key',anim,533,472,100,0,1,1)
	
	anim = CreateAnimation('data/Texture/Common/area_round.png',0,0,128,128,1,0)
	anim:SetHotSpot(64,49)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_click_zl_handle',anim,521,398,100,0,2,2)
	
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_door.png',0,0,220,350,1,0)
	anim:SetHotSpot(2,175)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_door',anim,339,384,51,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_handle.png',0,0,120,58,1,0)
	anim:SetHotSpot(105,18)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_handle',anim,549,375,60,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_shadow.png',0,0,118,54,1,0)
	anim:SetHotSpot(96,20)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_shadow',anim,517,422,52,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_key_1.png',0,0,120,108,1,0)
	anim:SetHotSpot(60,54)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_key_1',anim,542,501,52,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/11_corridor/main/z_lock/z_lock_key_2.png',0,0,134,102,1,0)
	anim:SetHotSpot(67,51)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_lock_key_2',anim,538,506,53,0,1,1)
	
end
-- CLEAR_ON_SAVE_END
