Match implementation for the client. More...
#include <CMatch.hh>

Public Member Functions | |
| CMatch (CRules *r, const MsgInitGame *m) | |
| virtual CField * | getField () |
| Return the field of the game. | |
| virtual CTeam * | getTeam (int team_id) |
| Return one of the competing teams. | |
| virtual void | serialize (std::ostream &os) const |
| virtual void | unserialize (std::istream &is) |
Friends | |
| class | Api |
| std::ostream & | operator<< (std::ostream &os, const CMatch &m) |
Match implementation for the client.
| CTeam * CMatch::getTeam | ( | int | team_id | ) | [inline, virtual] |
Return one of the competing teams.
| team_id | Team ID in the range [0, 1]. |
Reimplemented from Match< CPlayer >.
Referenced by Api::selectTeam(), and CBall::setOwner().
1.6.3