/******************************************************************************
*	File		-	world_view.h
*	Author		-	Joey Pollack
*	Date		-	2022/01/26 (y/m/d)
*	Mod Date	-	2022/01/26 (y/m/d)
*	Description	-	A rendered view of the world
******************************************************************************/

#ifndef WORLD_VIEW_H_
#define WORLD_VIEW_H_

#include <gui/panel.h>

namespace lunarium 
{ 
    
    class World;    // TODO: Use the editor::World class instead?
    
namespace editor
{
    class Editor;
    class WorldView : public gui::Panel
    {
    public:
        WorldView();
        bool DoFrame();

        void SetWorld(World* pWorld);
        World* GetWorld();

    private:
        World* mpWorld;
        Editor* mpEditor;
    };
    
}}  // lunarium::editor

#endif  // WORLD_VIEW_H_