| 1 | #include "editor_object.h" |
|---|---|
| 2 | |
| 3 | #include <game/editor/editor.h> |
| 4 | |
| 5 | void CEditorObject::OnInit(CEditor *pEditor) |
| 6 | { |
| 7 | m_pEditor = pEditor; |
| 8 | } |
| 9 | |
| 10 | CEditor *CEditorObject::Editor() { return m_pEditor; } |
| 11 | const CEditor *CEditorObject::Editor() const { return m_pEditor; } |
| 12 | IInput *CEditorObject::Input() { return m_pEditor->Input(); } |
| 13 | const IInput *CEditorObject::Input() const { return m_pEditor->Input(); } |
| 14 | IClient *CEditorObject::Client() { return m_pEditor->Client(); } |
| 15 | const IClient *CEditorObject::Client() const { return m_pEditor->Client(); } |
| 16 | CConfig *CEditorObject::Config() { return m_pEditor->Config(); } |
| 17 | const CConfig *CEditorObject::Config() const { return m_pEditor->Config(); } |
| 18 | IConsole *CEditorObject::Console() { return m_pEditor->Console(); } |
| 19 | const IConsole *CEditorObject::Console() const { return m_pEditor->Console(); } |
| 20 | IEngine *CEditorObject::Engine() { return m_pEditor->Engine(); } |
| 21 | const IEngine *CEditorObject::Engine() const { return m_pEditor->Engine(); } |
| 22 | IGraphics *CEditorObject::Graphics() { return m_pEditor->Graphics(); } |
| 23 | const IGraphics *CEditorObject::Graphics() const { return m_pEditor->Graphics(); } |
| 24 | ISound *CEditorObject::Sound() { return m_pEditor->Sound(); } |
| 25 | const ISound *CEditorObject::Sound() const { return m_pEditor->Sound(); } |
| 26 | ITextRender *CEditorObject::TextRender() { return m_pEditor->TextRender(); } |
| 27 | const ITextRender *CEditorObject::TextRender() const { return m_pEditor->TextRender(); } |
| 28 | IStorage *CEditorObject::Storage() { return m_pEditor->Storage(); } |
| 29 | const IStorage *CEditorObject::Storage() const { return m_pEditor->Storage(); } |
| 30 | CUi *CEditorObject::Ui() { return m_pEditor->Ui(); } |
| 31 | const CUi *CEditorObject::Ui() const { return m_pEditor->Ui(); } |
| 32 | CRenderMap *CEditorObject::RenderMap() { return m_pEditor->RenderMap(); } |
| 33 | const CRenderMap *CEditorObject::RenderMap() const { return m_pEditor->RenderMap(); } |
| 34 |