local yanshen =import("mir.def.jianwu")
local current = ...
local scheduler = require("framework.scheduler")
local scene = class("sfselectScene", function ()
	return display.newScene("sfselect")
end)
table.merge(scene, {})
local function go2login()
	def.setLoginCenter('47.108.146.75', 8088, '吾爱懒猫', '1997dw')
	cache.setIsFirstLaunchGame(false)
	cache.setLastSfServer('吾爱懒猫')
	game.gotoscene("login", {
		logout = false
		}, "crossFade", 1)
end
function scene:ctor(params)
	self:setNodeEventEnabled(true)
	self.params = params
	self.curPageIndex = 1
	--sound.playMusic("game_over2", true)
	--res.get2("pic/login/bg.png"):addTo(self):center():fit()
	self.delayF = scheduler.scheduleGlobal(go2login, 3)
end
function scene:onExit()
	scheduler.unscheduleGlobal(self.delayF)
end
return scene