Beispiel #1
0
	MainMenu(Core* core, Interface* ui, NetworkHandler* net) : Scene("MainMenu"), _core(core), _interface(ui), _net(net)
	{
		context.core = _core;
		context.currentScene = this;

		_net->attachScene(this);
	}
Beispiel #2
0
	NameSelection(Core* core, Interface* ui, NetworkHandler* net) : Scene("NameSelection"), _core(core), _interface(ui), _net(net)
	{
		context.core = _core;
		context.currentScene = this;

		_net->attachScene(this);
		_sceneRequest = _allowNextScene = false;
	}