DDraceNetwork Documentation
Loading...
Searching...
No Matches
map_object.h
Go to the documentation of this file.
1
#ifndef GAME_EDITOR_MAP_OBJECT_H
2
#define GAME_EDITOR_MAP_OBJECT_H
3
4
class
CEditor
;
5
class
CEditorMap
;
6
class
IGraphics
;
7
class
ISound
;
8
class
IStorage
;
9
class
ITextRender
;
10
11
class
CMapObject
12
{
13
public
:
14
explicit
CMapObject
(
CEditorMap
*pMap);
15
CMapObject
(
const
CMapObject
&Other);
16
virtual
~CMapObject
() =
default
;
17
18
virtual
void
OnAttach
(
CEditorMap
*pMap);
19
20
const
CEditor
*
Editor
()
const
;
21
CEditor
*
Editor
();
22
const
CEditorMap
*
Map
()
const
;
23
CEditorMap
*
Map
();
24
const
IGraphics
*
Graphics
()
const
;
25
IGraphics
*
Graphics
();
26
const
ISound
*
Sound
()
const
;
27
ISound
*
Sound
();
28
const
IStorage
*
Storage
()
const
;
29
IStorage
*
Storage
();
30
const
ITextRender
*
TextRender
()
const
;
31
ITextRender
*
TextRender
();
32
33
private
:
34
CEditorMap
*
m_pMap
;
35
};
36
37
#endif
CEditorMap
Definition
map.h:53
CEditor
Definition
editor.h:108
CMapObject::~CMapObject
virtual ~CMapObject()=default
CMapObject::Sound
const ISound * Sound() const
Definition
map_object.cpp:51
CMapObject::Editor
const CEditor * Editor() const
Definition
map_object.cpp:21
CMapObject::Storage
const IStorage * Storage() const
Definition
map_object.cpp:61
CMapObject::OnAttach
virtual void OnAttach(CEditorMap *pMap)
Definition
map_object.cpp:16
CMapObject::TextRender
const ITextRender * TextRender() const
Definition
map_object.cpp:71
CMapObject::CMapObject
CMapObject(CEditorMap *pMap)
Definition
map_object.cpp:6
CMapObject::m_pMap
CEditorMap * m_pMap
Definition
map_object.h:34
CMapObject::Map
const CEditorMap * Map() const
Definition
map_object.cpp:31
CMapObject::Graphics
const IGraphics * Graphics() const
Definition
map_object.cpp:41
IGraphics
Definition
graphics.h:189
ISound
Definition
sound.h:12
IStorage
Definition
storage.h:21
ITextRender
Definition
textrender.h:291
src
game
editor
map_object.h
Generated by
1.16.1