ai.hh

00001 /*
00002 ** TowBowlTactics, an adaptation of the tabletop game Blood Bowl.
00003 **
00004 ** Copyright (C) 2007 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 AI_HH_
00018 # define AI_HH_
00019 
00020 # include "Api.hh"
00021 # include "ClientApp.hh"
00022 # include "Event.hh"
00023 
00028 class AIApp : public ClientApp, public Event
00029 {
00030 public:
00031   AIApp(int argc, char** argv);
00032   virtual ~AIApp();
00033 
00034 private:
00035   virtual void showVersion();
00036   virtual int onPlay(bool replay);
00037 
00038   void waitUntilReady();
00039   
00040   void handleDrawKicker();
00041   void handleTeamPlacement();
00042   void handleKickOff();
00043   void handleMyTurn();
00044   
00045   Api* api_;
00046 };
00047 
00048 #endif /* !AI_HH_ */

Generated on Sat Jun 23 16:07:22 2007 for Stechec/TBT by  doxygen 1.4.7