Files
PlanetFleet/addTechnologyCommand.h
2024-10-19 17:37:45 +03:00

19 lines
331 B
C++

#ifndef ADD_TECHNOLOGY_H
#define ADD_TECHNOLOGY_H
#include "abstractCommand.h"
namespace battleship{
class AddTechnologyCommand : public AbstractCommand{
public:
AddTechnologyCommand(std::string argsStr) : AbstractCommand(argsStr){}
void execute();
private:
void validate();
int playerId, techId;
};
}
#endif