5namespace RoboidControl {
21 virtual void PrepareForUpdate()
override;
22 virtual void Update(
bool recursive)
override;
32 bool externalTouch =
false;
33 bool internalTouch =
false;
A thing is the primitive building block.
Definition Thing.h:20
static Thing * LocalRoot()
The root thing for the local participant.
Definition Thing.cpp:23
A sensor which can detect touches.
Definition TouchSensor.h:8
int GenerateBinary(char *bytes, unsigned char *ix) override
Function used to generate binary data for this touch sensor.
Definition TouchSensor.cpp:22
virtual void Update(bool recursive) override
Updates the state of the thing.
Definition TouchSensor.cpp:18
bool IsTouching()
Value which is true when the sensor is touching something, false otherwise.
Definition TouchSensor.cpp:10
virtual void ProcessBinary(char *bytes) override
Function used to process binary data received for this touch sensor.
Definition TouchSensor.cpp:28