class 'ERSGameStudiosScreen' (BaseScreen)

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

function ERSGameStudiosScreen:__finalize()
end

function ERSGameStudiosScreen:onUpdate(dt)
    self.dt = self.dt + dt
    if self.dt > 3 then
        self:onERSGStudiosScreenDestroy()
    end
end

function ERSGameStudiosScreen:onERSGStudiosScreenDestroy()
     PopUpScreensMgr:pop()
     createLoadingScreen()
     -- createMainMenu()
end

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

function ERSGameStudiosScreen:CreateLoaderTable()
    local objects = {}
    objects['ERSLogo']  =  { entityType = 'SpriteEntity',  x = 512,  y = 384,  order = 0,  editingLocked = false,  texturePath = '/Data/Textures/Logo/ERSLogo.jpg',  width = 1366,  height = 768,  }
    return objects
end