MCPcopy Create free account
hub / github.com/ActiveState/code / move

Method move

recipes/Python/510397_Physics/recipe-510397.py:119–121  ·  view source on GitHub ↗

Update the ball\'s position.

(self, frames_per_second)

Source from the content-addressed store, hash-verified

117 self.err = Vector(0, 0)
118
119 def move(self, frames_per_second):
120 'Update the ball\'s position.'
121 self.pos += self.vel / frames_per_second
122
123################################################################################
124

Callers 6

redate_by_exifFunction · 0.45
mainFunction · 0.45
make_backupFunction · 0.45
updateFunction · 0.45
update_worldFunction · 0.45
recipe-534161.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected