34 lines
439 B
C++
34 lines
439 B
C++
|
|
/* RJBoolProperty.h */
|
|
|
|
#ifndef ROKOJORI__BOOL_PROPERTY_H
|
|
#define ROKOJORI__BOOL_PROPERTY_H
|
|
|
|
|
|
#include "./RJNetworkNode.h"
|
|
|
|
|
|
class RJBoolProperty : public RJNetworkNode
|
|
{
|
|
GDCLASS(RJBoolProperty, RJNetworkNode);
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
GDVIRTUAL1( set, bool );
|
|
GDVIRTUAL0R( bool, get );
|
|
/* signal onChange */
|
|
|
|
RJBoolProperty();
|
|
|
|
~RJBoolProperty();
|
|
};
|
|
|
|
|
|
#endif // ROKOJORI__BOOL_PROPERTY_H
|