rj-action-library-cpp/RJSensor.cpp

30 lines
359 B
C++
Raw Normal View History

2024-08-02 06:21:30 +00:00
2024-05-05 07:49:41 +00:00
/* RJSensor.cpp */
#include "RJSensor.h"
2024-08-02 06:21:30 +00:00
// Registers fields, signals and methods for Godot
2024-05-05 07:49:41 +00:00
void RJSensor::_bind_methods()
{
GDVIRTUAL_BIND( getValue );
GDVIRTUAL_BIND( isActive );
GDVIRTUAL_BIND( wasActive );
2024-08-02 06:21:30 +00:00
GDVIRTUAL_BIND( updateValue, "value" );
2024-05-05 07:49:41 +00:00
}
2024-08-02 06:21:30 +00:00
// Constructor
2024-05-05 07:49:41 +00:00
RJSensor::RJSensor()
{
2024-08-02 06:21:30 +00:00
2024-05-05 07:49:41 +00:00
}
2024-08-02 06:21:30 +00:00
// Destructor
2024-05-05 07:49:41 +00:00
RJSensor::~RJSensor()
{
}
2024-08-02 06:21:30 +00:00