#include <palSensors.h>

Public Member Functions | |
| virtual void | Init (palBody *body) |
| virtual Float | GetDistance (int transponder) |
| virtual int | GetNumTransponders (void) |
The reciever returns the distance from the senders
| Float palTransponderReciever::GetDistance | ( | int | transponder | ) | [virtual] |
Gets the distance to a transponder Note: You MUST call GetNumTransponders before you can call GetDistance
| transponder | The integer handle of the transponder to measure the distance from (ranges from 0 to max transponder - from GetNumTransponders) |
| int palTransponderReciever::GetNumTransponders | ( | void | ) | [virtual] |
Gets the number of transponders in range
| void palTransponderReciever::Init | ( | palBody * | body | ) | [virtual] |
Initializes the Transponder receiver. Attaches a transponder receiver to a given body.
| body | The body which the sendor is attached to |
1.5.7.1