#pragma once

#include "../../entity.hpp"
#include "../../resources.hpp"
#include "../../util/imgui/entity_canvas.hpp"

namespace game::state::select
{
  class Preview
  {
  public:
    int previousCharacterIndex{-1};
    Entity actor{};
    bool isInGame{};

    util::imgui::widget::EntityCanvas canvas{};

    void update(Resources& resources, int characterIndex);
  };
}
