示例#1
0
func (s *LoginScene) New() engine.Scene {
	gs := new(LoginScene)
	gs.SceneData = engine.NewScene("LoginScene")
	return gs
}
示例#2
0
func (s *GameScene) New() engine.Scene {
	gs := new(GameScene)
	gs.SceneData = engine.NewScene("GameScene")
	return gs
}