]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/command.cpp
* Se agrega un Tanque al ejemplo, y ANDA!!!!
[z.facultad/75.42/plaqui.git] / Server / src / command.cpp
index 2db14f0095aef36f00f3b17c63f0298fcbc30264..08a73c9b36ae4a9bd5cb18bec05325d667acd2ff 100644 (file)
@@ -44,12 +44,13 @@ Command::~Command(void) {
 #endif // DEBUG
 }
 
 #endif // DEBUG
 }
 
-Command::Command(const string& target, const string& command):
-               target(target), command(command) {
+Command::Command(const string& _target, const string& _command) {
 #ifdef DEBUG
        cerr << __FILE__ << ": target = " << target << " | "
                        << "command = " << command << endl;
 #endif // DEBUG
 #ifdef DEBUG
        cerr << __FILE__ << ": target = " << target << " | "
                        << "command = " << command << endl;
 #endif // DEBUG
+       set_target(_target);
+       set_command(_command);
 }
 
 void Command::build(void) {
 }
 
 void Command::build(void) {