Files
PlanetFleet/addTechnologyCommand.h
T
2024-02-24 14:45:26 +02:00

20 lines
356 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();
void addTechnology();
int playerId, techId;
};
}
#endif