CMatch Class Reference
[Client API]

Match implementation for the client. More...

#include <CMatch.hh>

Inheritance diagram for CMatch:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CMatch (CRules *r, const MsgInitGame *m)
virtual CFieldgetField ()
 Return the field of the game.
virtual CTeamgetTeam (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)

Detailed Description

Match implementation for the client.


Member Function Documentation

CTeam * CMatch::getTeam ( int  team_id  )  [inline, virtual]

Return one of the competing teams.

Parameters:
team_id Team ID in the range [0, 1].

Reimplemented from Match< CPlayer >.

Referenced by Api::selectTeam(), and CBall::setOwner().


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 21:17:31 2010 for Stechec/TBT by  doxygen 1.6.3