Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS::TrainerRecoverCommand Class Reference

Class used to represent the trainer command (recover). More...

Inheritance diagram for RS::TrainerRecoverCommand:

Inheritance graph
[legend]
Collaboration diagram for RS::TrainerRecoverCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const std::string serverString () const
 Returns the server string that will execute the RecoverCommand at the soccer server.

TrainerRecoverCommand * clone () const
 Returns a new copy of the command.


Detailed Description

Class used to represent the trainer command (recover).

(recover) This command resets players' stamina, recovery, effort and hear capacity to the values at the beginning of the game. Possible replies by the soccerserver: (ok recover) The command succeeded.

Unit:
Library
Revision
1.1
Author
frehe
Date
2006/09/06 18:03:47

Definition at line 75 of file TrainerRecoverCommand.h.


Member Function Documentation

TrainerRecoverCommand * RS::TrainerRecoverCommand::clone   const [virtual]
 

Returns a new copy of the command.

REMEMBER TO DELETE IT, OTHERWISE YOU WILL HAVE A MEMORY LEAK!!!

Implements RS::TrainerCommand.

Definition at line 70 of file TrainerRecoverCommand.cc.


The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:25:26 2011 for RoboSoc by doxygen1.3-rc3