Adding properties
This commit is contained in:
13
src/include/Properties/BoolProperty.h
Normal file
13
src/include/Properties/BoolProperty.h
Normal 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);
|
||||
};
|
||||
Reference in New Issue
Block a user