Skip to content

Commit cd0ea50

Browse files
update cli
1 parent ef648ee commit cd0ea50

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

spritePro/cli.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def main():
3939
4040
4141
class MainScene(s.Scene):
42-
def on_enter(self, context):
42+
def __init__(self):
43+
super().__init__()
44+
4345
self.player = s.Sprite(
4446
f"{IMAGES_DIR}/player.png",
4547
(64, 64),
@@ -48,6 +50,9 @@ def on_enter(self, context):
4850
scene=self,
4951
)
5052
53+
def on_enter(self, context):
54+
pass
55+
5156
def on_exit(self):
5257
pass
5358

0 commit comments

Comments
 (0)