RulesCrutch.hh

00001 /*
00002 ** TowBowlTactics, a turn-based strategy football game.
00003 **
00004 ** Copyright (C) 2008-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 RULESCRUTCH_HH_
00018 # define RULESCRUTCH_HH_
00019 
00020 # include "tools.hh"
00021 
00022 BEGIN_NS(sdlvisu);
00023 
00024 class Game;
00025 
00033 class RulesCrutch
00034 {
00035 public:
00036   RulesCrutch(Game& game);
00037   ~RulesCrutch();
00038 
00039   int getFormationId() const;
00040   void setFormationId(int formation_id);
00041 
00042 private:
00043   Game& game_;
00044 
00045   int selected_formation_id_; // see trac ticket #25
00046 };
00047 
00048 # include "RulesCrutch.hxx"
00049 
00050 END_NS(sdlvisu);
00051 
00052 #endif /* !RULESCRUTCH_HH_ */
Generated on Mon Apr 5 21:17:13 2010 for Stechec/TBT by  doxygen 1.6.3