//
// Created by dancrosby on 3/22/20.
//

#ifndef EAGLE0_SHARDOK_LIBRARY_MAP_TILE_MODIFIER_WITH_COORDS_HPP
#define EAGLE0_SHARDOK_LIBRARY_MAP_TILE_MODIFIER_WITH_COORDS_HPP

#include "Coordinates.hpp"
#include "TileModifier.hpp"
#include "src/main/protobuf/net/eagle0/shardok/common/tile_modifier_with_coords.pb.h"

namespace shardok {
using TileModifierWithCoords = net::eagle0::shardok::common::TileModifierWithCoords;

[[nodiscard]] auto MakeTmc(const Coords &coordinates, const TileModifierProto &modifier)
        -> TileModifierWithCoords;

[[nodiscard]] auto MakeTmc(
        const Coords &coordinates,
        const net::eagle0::shardok::storage::fb::TileModifier &modifier) -> TileModifierWithCoords;

}  // namespace shardok

#endif  // EAGLE0_SHARDOK_LIBRARY_MAP_TILE_MODIFIER_WITH_COORDS_HPP
