//
// Created by Dan Crosby on 3/11/21.
//

#ifndef EAGLE0_SCOUTCOMMANDFACTORY_HPP
#define EAGLE0_SCOUTCOMMANDFACTORY_HPP

#include "src/main/cpp/net/eagle0/shardok/library/ShardokCommand.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/command_factories/CommandFactory.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/map/Coordinates.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/settings/GameSettings.hpp"
#include "src/main/cpp/net/eagle0/shardok/library/unit/Unit.hpp"

namespace shardok {
using std::vector;

class ScoutCommandFactory : public CommandFactory {
private:
    const SettingsGetter settings;

public:
    explicit ScoutCommandFactory(const SettingsGetter& getter) : settings(getter){};

    void AddAvailableCommands(CommandList& commands, const CommandParams& params) const override;

    void AddAvailableScoutCommands(
            CommandList& commands,
            const Unit* unit,
            ActionPoints remainingActionPoints,
            const Coords& position,
            const HexMap* hexMap,
            const Units* units) const;
};
}  // namespace shardok

#endif  // EAGLE0_SCOUTCOMMANDFACTORY_HPP
