//
// Created by Dan Crosby on 5/27/20.
//

#ifndef EAGLE0_EXTINGUISHFIRECOMMANDFACTORY_HPP
#define EAGLE0_EXTINGUISHFIRECOMMANDFACTORY_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"

namespace shardok {

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

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

    auto AddAvailableExtinguishFireCommands(
            CommandList &existingCommands,
            const Unit *unit,
            ActionPoints remainingActionPoints,
            const Coords &position,
            const HexMap *hexMap,
            const WeatherFb *weather) const -> void;

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

}  // namespace shardok

#endif  // EAGLE0_EXTINGUISHFIRECOMMANDFACTORY_HPP
