Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ update
Function
update
PongPong_Game/pongpong.py:48–55 ·
view source on GitHub ↗
(dt)
Source
from the content-addressed store, hash-verified
46
47
48
def
update(dt):
49
global game_objects, game_window
50
51
for
obj1 in game_objects:
52
for
obj2 in game_objects:
53
if
obj1 is obj2:
54
continue
55
obj1.update(game_window.win_size, BORDER, obj2, dt)
56
57
58
if
__name__ ==
"__main__"
:
Callers
1
draw
Function · 0.50
Calls
1
update
Method · 0.45
Tested by
no test coverage detected