class 'l_10_hotel_z_wheel' (ZoomEventHandler)

function l_10_hotel_z_wheel:__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_wheel:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_wheel/z_wheel_bg.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_wheel_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_wheel/z_wheel_piece_of_glass.jpg',0,0,99,78,1,0)
	anim:SetHotSpot(49,39)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_wheel_piece_of_glass',anim,537,287,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_zw_piece_of_glass',anim,545,289,100,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_zw_weight_2',anim,433,201,100,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_zw_weight_1',anim,323,333,100,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_wheel/z_wheel_weight_1.png',0,0,120,80,1,0)
	anim:SetHotSpot(60,40)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_wheel_weight_1',anim,336,349,52,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/10_hotel/main/z_wheel/z_wheel_weight_2.png',0,0,90,94,1,0)
	anim:SetHotSpot(45,47)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_wheel_weight_2',anim,429,195,53,0,1,1)
	
end
-- CLEAR_ON_SAVE_END
