class 'BigFishGamesScreen' (BaseScreen)

function BigFishGamesScreen:__init(name)
    BaseScreen.__init(self, name)
    
    self.dt = 0
    
    local function open(entity, state)
        if state then
            self:onBigFishScreenDestroy()
        end
    end
    self:getMainEntity():setHandlingChildEvents(true)
    self:getMainEntity().onClickBegin:add(open)
end

function BigFishGamesScreen:__finalize()
end

function BigFishGamesScreen:onUpdate(dt)
    self.dt = self.dt + dt
    if self.dt > 3 then
        self:onBigFishScreenDestroy()
    end
end

function BigFishGamesScreen:onBigFishScreenDestroy()
     PopUpScreensMgr:pop()
     createERSGameStudiosScreen()
end

--------------------------------------------------------------------------------
--                      GENERATED CONTENT. DO NOT EDIT.                       --
--------------------------------------------------------------------------------

function BigFishGamesScreen:CreateLoaderTable()
	local objects =
	{
		{ name = 'BigFishLogo',  entityType = 'SpriteEntity',  x = 512,  y = 384,  order = 0,  editingLocked = false,  treeItemIsExpanded = false,  hotSpotX = 683, hotSpotY = 384,  texturePath = 'Data/Textures/Logo/BigFishLogo.jpg',  width = 1366,  height = 768,  },
	}
	return objects
end
