World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
GameMenu.h
См. документацию.
1
#pragma once
2
3
#include "
Engine/IocContainer.h
"
4
5
using
EngineIoc
=
Engine_::IocContainer
;
6
7
namespace
Application
{
8
9
class
Menu
{
10
public
:
11
inline
Menu
() {
12
this->
mouse
=
EngineIoc::ResolveMouse
();
13
}
14
15
void
MenuLoop
();
16
17
private
:
18
Mouse
*
mouse
=
nullptr
;
19
20
void
EventLoop
();
21
};
22
23
}
// namespace Application
Engine_::IocContainer
Definition:
IocContainer.h:15
IocContainer.h
Mouse
Definition:
Mouse.h:279
Application::Menu::MenuLoop
void MenuLoop()
Definition:
GameMenu.cpp:512
Application::Menu::mouse
Mouse * mouse
Definition:
GameMenu.h:18
Application::Menu
Definition:
GameMenu.h:9
Engine_::IocContainer::ResolveMouse
static Mouse * ResolveMouse()
Definition:
IocContainer.cpp:88
Application::Menu::EventLoop
void EventLoop()
Definition:
GameMenu.cpp:70
Application
Definition:
Configuration.h:5
Application::Menu::Menu
Menu()
Definition:
GameMenu.h:11
src
Application
GameMenu.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:45. Создано системой
1.8.17