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

#ifndef EAGLE0_METEORTARGETCOMMANDFACTORY_HPP
#define EAGLE0_METEORTARGETCOMMANDFACTORY_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/settings/GameSettings.hpp"

namespace shardok {

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

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

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

    auto AddAvailableMeteorTargetCommands(
            CommandList &existingCommands,
            const Unit *unit,
            const HexMap *map) const -> void;
};

}  // namespace shardok

#endif  // EAGLE0_METEORTARGETCOMMANDFACTORY_HPP
