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

#ifndef EAGLE0_TILEMODIFIERWITHCOORDS_HPP
#define EAGLE0_TILEMODIFIERWITHCOORDS_HPP

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

namespace shardok {
typedef net::eagle0::shardok::common::TileModifierWithCoords TileModifierWithCoords;

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

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

}  // namespace shardok

#endif  // EAGLE0_TILEMODIFIERWITHCOORDS_HPP
