World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
IocContainer.cpp
См. документацию.
2 
5 
6 
10 
11 
12 Menu *IocContainer::menu = nullptr;
13 Menu *IocContainer::ResolveGameMenu() {
14  if (!menu) {
15  menu = new Menu();
16  }
17  return menu;
18 }
19 
22  if (!gameWindowHandler) {
24  }
25  return gameWindowHandler;
26 }
IocContainer.h
Application::IocContainer::menu
static Menu * menu
Definition: IocContainer.h:14
GameWindowHandler.h
Application::Menu
Definition: GameMenu.h:9
GameMenu.h
Application::GameWindowHandler
Definition: GameWindowHandler.h:8
Application::IocContainer
Definition: IocContainer.h:8
Application::IocContainer::ResolveGameWindowHandler
static GameWindowHandler * ResolveGameWindowHandler()
Definition: IocContainer.cpp:21
Application::IocContainer::gameWindowHandler
static GameWindowHandler * gameWindowHandler
Definition: IocContainer.h:15