Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ __init__
Method
__init__
projects/Space Shooter/main.py:459–463 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
457
458
class
Start:
459
def
__init__(self):
460
self.object = Objects()
461
self.enemies = Enemies()
462
self.up = False
463
self.down = False
464
465
def
controls(self, event):
466
if
event.type == pygame.KEYDOWN:
Callers
nothing calls this directly
Calls
2
Objects
Class · 0.85
Enemies
Class · 0.85
Tested by
no test coverage detected