1 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2 /* If you are missing that file, acquire a complete release at teeworlds.com. */
3 #ifndef ENGINE_EDITOR_H
4 #define ENGINE_EDITOR_H
7 class IEditor
: public IInterface
9 MACRO_INTERFACE("editor", 0)
13 virtual void Init() = 0;
14 virtual void UpdateAndRender() = 0;
15 virtual bool HasUnsavedData() = 0;
18 extern IEditor
*CreateEditor();