class 'ERSGameStudiosScreen' (BaseScreen)

function ERSGameStudiosScreen:__init(name)
	BaseScreen.__init(self, name)
	
	self.dt = 0
	
	self:getMainEntity():setHandlingChildEvents(true)
	self:getMainEntity().onPress:add( bind(self.onERSGStudiosScreenDestroy, self) )
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()
end

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

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