mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
19 lines
331 B
C++
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
|