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