//
//  DuelUtils.hpp
//  eagle0
//
//  Created by Dan Crosby on 9/18/18.
//  Copyright © 2018 none. All rights reserved.
//

#ifndef DuelManager_hpp
#define DuelManager_hpp

#include "src/main/cpp/net/eagle0/shardok/library/PercentileRollOdds.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/settings/GameSettings.hpp"
#include "src/main/flatbuffer/net/eagle0/shardok/storage/unit.hpp"

namespace shardok {

using Unit = net::eagle0::shardok::storage::fb::Unit;

PercentileRollOdds GetAcceptOdds(
        const SettingsGetter &getter,
        const Unit *challenger,
        const Unit *defender,
        const Terrain &challengerTerrain,
        const Terrain &defenderTerrain);
}  // namespace shardok

#endif /* DuelManager_hpp */
