STeamMsg.hh
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef STEAMMSG_HH_
00018 # define STEAMMSG_HH_
00019
00020 # include "Player.hh"
00021 # include "Team.hh"
00022
00023 class SRules;
00024 class STeam;
00025
00036 class STeamMsg
00037 {
00038 public:
00039 STeamMsg(SRules *r);
00040 ~STeamMsg();
00041
00042 void setTeam(int team_id, STeam* t);
00043
00044 private:
00045 STeam* getTeam(int token, int team_id);
00046
00047 void msgTeamInfo(const MsgTeamInfo* m);
00048 void msgPlayerCreate(const MsgPlayerCreate* m);
00049 void msgReroll(const MsgReroll* m);
00050 void msgBlockDice(const MsgBlockDice* m);
00051 void msgFollow(const MsgFollow* m);
00052 void msgBlockPush(const MsgBlockPush* m);
00053
00054 SRules* r_;
00055 STeam* t_[2];
00056 };
00057
00058 # include "STeamMsg.hxx"
00059
00060 #endif