Source code for sensor.transponder

[docs]class Transponder_Reciever(): def __init__(body): """ adds a reciever to the world body: The body to connect the Reciever to """ pass
[docs] def get_distance(sender_id): """returns the distance to the sender""" pass
[docs] def get_sender(): """returns the sender idof the sender in range"""
[docs]class Transponder_Sender(): def __init__(body,max_range): """ adds a reciever to the world body: The body to connect the Sender to max_range: the maximum range that receivers can see it from """ pass