Added properties

This commit is contained in:
andreja6
2018-10-22 18:20:28 -07:00
parent b18ebfb56f
commit b097cb15e4
6 changed files with 55 additions and 4 deletions

15
Property.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <G3DAll.h>
class Property
{
public:
std::string title;
std::string propName;
void * prop;
void *(*getFunc)(void);
void(*setFunc)(void *);
void setProperty(void*);
void * getProperty();
Property(std::string title, std::string propName, void * prop, void *(*getFunc)(void), void(*setFunc)(void *));
~Property(void);
};