#ifndef WORLD_CLONE_PROGRESS_HPP_
#define WORLD_CLONE_PROGRESS_HPP_

#include <AsyncWorldCloner/AsyncWorldCloner.hpp>
#include <Display/WidgetDisplay/WidgetDisplay.hpp>
#include <WorldAvatar/WorldAvatar.hpp>
#include <string>

/**
 * @brief The display for showing the progress of cloning a world.
 */
class WorldCloneProgress final : public WidgetDisplay
{
private:
    AsyncWorldCloner cloner;

public:
    WorldCloneProgress(
        const std::string &oldPath,
        const std::string &newPath,
        bool enableCheats,
        WorldAvatar avatar
    );

    virtual void update() override;
};

#endif