$HOME/Sandpit/pge/python/pge.py
def at_time (t, p): global idcount, id2func, slow_down_factor idcount += 1 pgeif.create_function_event (t / slow_down_factor, idcount, 0) id2func[idcount] = p return idcount
$HOME/Sandpit/pge/python/pge.py
# # impulse_exceeds - on collision if the impulse generated by this object # (and the other object in collision) # exceeds, value, call, function. # function is a python function which takes a single # parameter (param). Param is the other object in # collision. # def impulse_exceeds (self, value, function): ...
unsigned isImpulseActive; /* a boolean indicating the exceed test is active. */ long double impulseThreshold; /* if the impulse exceeds the threshold call function. */ unsigned int impulseCallback; /* the integer function number. */
This document was produced using groff-1.22.