class 'l_03_yard_z_barrel' (ZoomEventHandler)

function l_03_yard_z_barrel:__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_03_yard_z_barrel:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/03_yard/main/z_barrel/z_barrel_bg.png',0,0,350,350,1,0)
	anim:SetHotSpot(175,175)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_barrel_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/03_yard/main/z_barrel/z_barrel_opener.png',0,0,134,110,1,0)
	anim:SetHotSpot(67,55)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_barrel_opener',anim,541,472,51,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_zb_opener',anim,539,477,100,-24,1.39,0.8)
	
	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_click_zb_leaf',anim,540,466,100,-24,1.38,0.8)
	
	anim = CreateAnimation('data/Texture/Scenes/03_yard/main/z_barrel/z_barrel_leaf.png',0,0,122,62,1,0)
	anim:SetHotSpot(61,31)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_barrel_leaf',anim,538,465,53,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/03_yard/main/z_barrel/z_barrel_web.png',0,0,166,194,1,0)
	anim:SetHotSpot(83,97)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_barrel_web',anim,433,390,54,0,1,1)
	
end
-- CLEAR_ON_SAVE_END
