Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ get_screen
Method
get_screen
Lazy_Pong/pong.py:226–227 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
224
pygame.display.set_caption(caption)
225
226
def
get_screen(self) -> pygame.Surface:
227
return
self.screen
228
229
def
fill_screen(self):
230
self.screen.fill(self.bg_color)
Callers
1
run_game
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected