class 'l_06_garden_z_tree' (ZoomEventHandler)

function l_06_garden_z_tree:__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_tree:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_tree/z_tree_bg.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_tree_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_tree/z_tree_branch.png',0,0,296,141,1,0)
	anim:SetHotSpot(148,70)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_tree_branch',anim,460,385,52,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_tree/z_tree_pencil.png',0,0,16,161,1,0)
	anim:SetHotSpot(8,80)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_tree_pencil',anim,422,317,53,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_tree/z_tree_sail.png',0,0,97,154,1,0)
	anim:SetHotSpot(48,77)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_tree_sail',anim,440,329,54,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/06_garden/main/z_tree/z_tree_leaf.png',0,0,126,106,1,0)
	anim:SetHotSpot(106,91)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_tree_leaf',anim,720,328,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_apply_zt_axe',anim,426,347,100,0,2.85,1.74)
	
	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_zt_pencil',anim,419,394,100,0,1.7,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_drop_target_zt_leaf',anim,421,337,100,0,2.35,1.68)
	
	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_get_zt_leaf',anim,673,293,100,22,1.3,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_hint_zt_leaf',anim,677,298,100,32,1.3,0.59)
	
end
-- CLEAR_ON_SAVE_END
