Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
race.hpp
1 //////////////////////////////
2 //
3 // File: swrs/race.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 23 2013
9 // This file is part of Project Labyrinth
10 // This file is going to be released under terms of GNU GPL in near future
11 //
12 //////////////////////////////
13 
14 #ifndef __RACE_H__
15 #define __RACE_H__
16 #include "swrs/feature.hpp"
17 namespace SWRS
18 {
19 
20  //! Character race represented [interface]
21  class Race: public Feature
22  {
23  public:
24  //! copy constructor
25  Race(pFeatureImpl impl);
26  //! returns name of race
27  const std::string & GetRace() const
28  {
29  return GetName();
30  }
31  //! get vector of racial special rules
32  const std::vector<std::string> & GetRacialSpecialRules() const;
33  //! shortened form of racial special rules
34  const std::vector<std::string> & GetRacialSpecialRulesSimpleForm() const;
35  };
36 }
37 #endif
38