//
//  MeteorCastActionFactory.cpp
//  eagle0_engine
//
//  Created by Dan Crosby on 1/15/19.
//  Copyright © 2019 none. All rights reserved.
//

#include "MeteorCastActionFactory.hpp"

#include "src/main/cpp/net/eagle0/shardok/library/FireUtils.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/actions/MeteorCastAction.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/util/HexMapUtils.hpp"

namespace shardok {

MeteorCastActionFactory::MeteorCastActionFactory(const SettingsGetter &getter) : settings(getter) {}

auto MeteorCastActionFactory::MakeMeteorCastAction(
        const GameStateW &gameState,
        const vector<UnitId> &actors) const -> ActionSPtr {
    return std::make_shared<MeteorCastAction>(gameState, actors, settings);
}

}  // namespace shardok
