MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / Menu

Method Menu

PanzerChasm/menu.cpp:2352–2363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2350// Menu
2351
2352Menu::Menu(
2353 HostCommands& host_commands,
2354 const SharedDrawersPtr& shared_drawers,
2355 const Sound::SoundEnginePtr& sound_engine )
2356 : host_commands_(host_commands)
2357 , shared_drawers_(shared_drawers)
2358 , root_menu_( new MainMenu( sound_engine, host_commands ) )
2359{
2360 PC_ASSERT( shared_drawers_ != nullptr );
2361
2362 current_menu_= root_menu_.get();
2363}
2364
2365Menu::~Menu()
2366{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected