class 'l_BigFishScreen' (BaseScreen)

function l_BigFishScreen:__init(name, screen)
	BaseScreen.__init(self, name, screen)
	
	self.dt = 0
	screen:GetObject('fade'):ChangeOpacity(1, 0, 0.3)
end

function l_BigFishScreen:OnUpdate(dt)
    local screen = self:GetTopLevelScreen()
    if not screen:IsDestroy() then
        self.dt = self.dt + dt;
        if self.dt > 3 then
            OnBigFishScreenDestroy()
        end
    end
end

function l_BigFishScreen:OnAllItemsFound()

end

function l_BigFishScreen:OnObjectMouseEnter(object)

end

function l_BigFishScreen:OnObjectMouseLeave(object)

end

function l_BigFishScreen:OnScreenObjectMouseDown(object)
    local screen = self:GetTopLevelScreen()
    if not screen:IsDestroy() then
        OnBigFishScreenDestroy()
    end
end

function l_BigFishScreen:OnObjectMouseDownProcessed(is_wrong_click)

end

function l_BigFishScreen:OnObjectMouseUp(object)

end

function l_BigFishScreen:OnObjectFound(object)

end

function l_BigFishScreen:OnToolFound(tool)

end

function l_BigFishScreen:OnToolApply(tool, object)

end

function l_BigFishScreen:OnObjectReachPanel(object)

end

function l_BigFishScreen:OnButtonPress(title)

end

function l_BigFishScreen:OnMouseMove(previous_pos, current_pos)

end

function l_BigFishScreen:OnSetTool(tool)

end

function l_BigFishScreen:OnLoaded()

end

function l_BigFishScreen:OnDestroy()

end

--------------------------------------------------------------------------------
function CreateBigFishScreen()
    local screen = CreateScriptedScreen('data/Scripts/screens/BigFishScreen.lua', 'l_BigFishScreen');
    PopUpScreensMgr:Push(screen, false, nil);
end
--------------------------------------------------------------------------------
function OnBigFishScreenDestroy()
     PopUpScreensMgr:Pop();
     CreateERSGStudioScreen()
end
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_BigFishScreen:LoadData(screen)
	local anim = CreateAnimation('data/Texture/Logo/BigFishLogo.jpg',0,0,1024,768,1,0)
	anim:SetHotSpot(512,384)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('BigFishLogo',anim,512,384,70,0,1,1)
end
-- CLEAR_ON_SAVE_END
