CBall.hh

00001 /*
00002 ** TowBowlTactics, a turn-based strategy football game.
00003 **
00004 ** Copyright (C) 2006-2010 The TBT Team.
00005 **
00006 ** This program is free software; you can redistribute it and/or
00007 ** modify it under the terms of the GNU General Public License
00008 ** as published by the Free Software Foundation; either version 2
00009 ** of the License, or (at your option) any later version.
00010 **
00011 ** The complete GNU General Public Licence Notice can be found as the
00012 ** `NOTICE' file in the root directory.
00013 **
00014 ** The TBT Team consists of people listed in the `AUTHORS' file.
00015 */
00016 
00017 #ifndef CBALL_HH_
00018 # define CBALL_HH_
00019 
00020 # include "Ball.hh"
00021 
00022 class CPlayer;
00023 class CRules;
00024 
00029 class CBall : public Ball<CPlayer>
00030 {
00031 public:
00032   CBall(CRules* rules);
00033   virtual ~CBall();
00034 
00036   void setCoordinates(const MsgBallCoord* m);
00038   void setOwner(const MsgBallOwner* m);
00039 
00040 private:
00041   CRules* r_;
00042 };
00043 
00044 #endif /* !CBALL_HH_ */
Generated on Mon Apr 5 21:17:11 2010 for Stechec/TBT by  doxygen 1.6.3