Race.hh

00001 /*
00002 ** TowBowlTactics, an adaptation of the tabletop game Blood Bowl.
00003 ** 
00004 ** Copyright (C) 2006 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 #ifndef RACE_HH_
00017 #define RACE_HH_
00018 
00019 #include <vector>
00020 #include "Position.hh"
00021 
00022 class Race
00023 {
00024 public:
00025     // -----------------------------------------------------------------------
00026     //  Constructors
00027     // -----------------------------------------------------------------------
00028     Race();
00029     virtual ~Race();
00030     
00031     // -----------------------------------------------------------------------
00032     //  Getters & Setters
00033     // -----------------------------------------------------------------------
00034     const char* getName();
00035     void setName(char* name);
00036     const char* getEmblem();
00037     void setEmblem(char* emblem);
00038     bool getApothecaryUse();
00039     void setApothecaryUse(bool use);
00040     long getRerollCost();
00041     void setRerollCost(long cost);
00042     int getRerollQuantity();
00043     void setRerollQuantity(int qty);
00044     const char* getBackground();
00045     void setBackground(char* bg);
00046     std::vector<Position> getPositions();
00047     Position* getPosition(const char* title);
00048     void addPosition(Position pos);
00049     
00050 private:
00051     // -----------------------------------------------------------------------
00052     //  Private data members
00053     // -----------------------------------------------------------------------
00054     char* name_;
00055     char* emblem_;
00056     bool apothecaryUse_;
00057     long rerollCost_;
00058     int rerollQuantity_;
00059     char* background_;
00060     std::vector<Position> vPos_;
00061 };
00062 
00063 
00064 #endif /*RACE_HH_*/

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