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

#ifndef EAGLE0_METEORSTARTCOMMANDFACTORY_HPP
#define EAGLE0_METEORSTARTCOMMANDFACTORY_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"
#include "src/main/cpp/net/eagle0/shardok/library/unit/Unit.hpp"

namespace shardok {

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

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

    auto AddAvailableMeteorStartCommands(
            CommandList &existingCommands,
            const Unit *unit,
            ActionPoints remainingActionPoints,
            const HexMap *map,
            const Coords &currentPosition) const -> void;

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

}  // namespace shardok

#endif  // EAGLE0_METEORSTARTCOMMANDFACTORY_HPP
