Pioneer
PropertiedObject.h
Go to the documentation of this file.
1 // Copyright © 2008-2021 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 #ifndef PROPERTIEDOBJECT_H
5 #define PROPERTIEDOBJECT_H
6 
7 #include "PropertyMap.h"
8 
9 class LuaManager;
10 
12 public:
13  PropertyMap &Properties() { return m_properties; }
14  const PropertyMap &Properties() const { return m_properties; }
15 
16 protected:
18  m_properties(lua) {}
19 
20 private:
21  PropertyMap m_properties;
22 };
23 
24 #endif
Definition: LuaManager.h:9
Definition: PropertiedObject.h:11
const PropertyMap & Properties() const
Definition: PropertiedObject.h:14
PropertyMap & Properties()
Definition: PropertiedObject.h:13
PropertiedObject(LuaManager *lua)
Definition: PropertiedObject.h:17
Definition: PropertyMap.h:11