Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
option.hpp
1 //////////////////////////////
2 //
3 // File: swrs/option.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 24 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 __SW_OPTION_
15 #define __SW_OPTION_
16 namespace SWRS
17 {
18  //! generic class for optional stat of a character
19  class IOption
20  {
21  public:
22  //! return displayable name
23  virtual const std::string & GetName()const=0;
24  //! return flavor text ("fluff") to be displayed in character editor
25  virtual const std::string & GetFlavorText() const=0;
26  //! virtual destructor - a requirement in polymorphic class
27  virtual ~IOption(){}
28  };
29 }
30 #endif
31