Cafu Engine
EntProperty.hpp
1 /*
2 Cafu Engine, http://www.cafu.de/
3 Copyright (c) Carsten Fuchs and other contributors.
4 This project is licensed under the terms of the MIT license.
5 */
6 
7 #ifndef CAFU_ENT_PROPERTY_HPP_INCLUDED
8 #define CAFU_ENT_PROPERTY_HPP_INCLUDED
9 
10 #include "Math3D/Vector3.hpp"
11 #include "wx/string.h"
12 #include <ostream>
13 
14 
15 class TextParserT;
16 
17 
19 {
20  public:
21 
22  EntPropertyT(const wxString& Key_="", const wxString& Value_="") : Key(Key_), Value(Value_) { }
23 
24  void Load_cmap(TextParserT& TP);
25  void Save_cmap(std::ostream& OutFile) const;
26 
27  Vector3fT GetVector3f() const;
28 
29 
30  wxString Key;
31  wxString Value;
32  // const EntClassVarT* Var; //CF: Should we have such a member here? Saves us searching all variables of the entity class...
33 };
34 
35 #endif
Definition: EntProperty.hpp:18
This is a class for parsing text.
Definition: TextParser.hpp:21