class 'l_10_hotel_z_chest' (ZoomEventHandler)

function l_10_hotel_z_chest:__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_10_hotel_z_chest:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_chest/z_chest_bg.jpg',0,0,384,512,1,0)
	anim:SetHotSpot(192,256)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_chest/z_chest_close.png',0,0,384,512,1,0)
	anim:SetHotSpot(192,256)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_close',anim,512,384,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_zoom_lock',anim,526,413,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_click_zc_open_doors',anim,515,408,100,0,40,50)
	
end
-- CLEAR_ON_SAVE_END
