Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
hindranceimpl.hpp
1 //////////////////////////////
2 //
3 // File: swrs/hindranceimpl.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 16 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 __HINDRANCE_IMPL_H__
15 #define __HINDRANCE_IMPL_H__
16 #include "swrs/featureimpl.hpp"
17 namespace SWRS
18 {
19  //! class representing character hindrances [implementations]
20  class HindranceImpl: public FeatureImpl
21  {
22  //! SWRS::HINDRANCE_MINOR: minor; SWRS::HINDRANCE_MAJNOR: major
23  int severity;
24  public:
25  //! set if minor or major
26  //! \param s SWRS::HINDRANCE_MINOR: minor; SWRS::HINDRANCE_MAJNOR: major
27  void SetSeverity(int s){severity=s;}
28  //! SWRS::HINDRANCE_MINOR: minor; SWRS::HINDRANCE_MAJNOR: major
29  int GetSeverity() const {return severity;}
30  };
31 
32 }
33 #endif
34