#include "tile-image.hpp" namespace floormat { template bool image_proto_::operator==(const image_proto_& b) const noexcept = default; template image_proto_::operator bool() const noexcept { return atlas != nullptr; } template image_ref_::operator bool() const noexcept { return atlas != nullptr; } template image_ref_::image_ref_(const image_ref_& o) noexcept : atlas{o.atlas}, variant{o.variant} {} template image_ref_::image_ref_(std::shared_ptr& atlas, variant_t& variant) noexcept : atlas{atlas}, variant{variant} {} template image_ref_::operator Proto() const noexcept { return { atlas, variant }; } template image_ref_& image_ref_::operator=(const Proto& proto) noexcept { atlas = proto.atlas; variant = proto.variant; return *this; } template struct image_proto_; template struct image_ref_; template struct image_proto_; template struct image_ref_; } // namespace floormat