Adding properties

This commit is contained in:
Vulpovile
2021-03-10 21:32:58 -08:00
parent 7ca6b1e472
commit 8b4460c104
6 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include "Property.h"
#pragma once
class BoolProperty : public Property<bool>
{
public:
template <typename T>
BoolProperty(std::string name, bool& value)
{
Property(name, (T)value);
}
~BoolProperty(void);
};