mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
17 lines
273 B
C++
17 lines
273 B
C++
#ifndef ENGINE_EDITOR_H
|
|
#define ENGINE_EDITOR_H
|
|
#include "kernel.h"
|
|
|
|
class IEditor : public IInterface
|
|
{
|
|
MACRO_INTERFACE("editor", 0)
|
|
public:
|
|
|
|
virtual ~IEditor() {}
|
|
virtual void Init() = 0;
|
|
virtual void UpdateAndRender() = 0;
|
|
};
|
|
|
|
extern IEditor *CreateEditor();
|
|
#endif
|