Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spieleprogrammieren
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
Material und Vorlagen
Spieleprogrammieren
Commits
7d02058a
Commit
7d02058a
authored
1 year ago
by
codecraft
Browse files
Options
Downloads
Patches
Plain Diff
rearrange new types as to make the interpreter happy
parent
2a6bdfd3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gameparts/basics.py
+12
-11
12 additions, 11 deletions
gameparts/basics.py
with
12 additions
and
11 deletions
gameparts/basics.py
+
12
−
11
View file @
7d02058a
...
@@ -13,6 +13,9 @@ class GameObject:
...
@@ -13,6 +13,9 @@ class GameObject:
print
(
"
Das musst du selbst schreiben
"
)
print
(
"
Das musst du selbst schreiben
"
)
pass
pass
class
Sprites
:
pass
class
SpriteBuilder
:
class
SpriteBuilder
:
def
__init__
(
self
)
->
None
:
def
__init__
(
self
)
->
None
:
...
@@ -22,16 +25,21 @@ class SpriteBuilder:
...
@@ -22,16 +25,21 @@ class SpriteBuilder:
pass
pass
def
build
(
self
)
->
Sprites
:
def
build
(
self
)
->
Sprites
:
pass
return
Sprites
()
class
Sprites
:
class
LoopHandle
:
pass
def
quit
(
self
):
pass
def
change_surface
(
self
,
surface
):
pass
def
reload
(
self
):
pass
class
GameLoop
:
class
GameLoop
:
def
__init__
(
self
)
->
None
:
def
__init__
(
self
)
->
None
:
pass
pass
def
loop
(
loop_fn
:
Callable
[[
l
oop
_h
andle
]]):
def
loop
(
self
,
loop_fn
:
Callable
[[
L
oop
H
andle
]]):
pass
pass
def
add_object
(
self
,
game_object
):
def
add_object
(
self
,
game_object
):
...
@@ -46,13 +54,6 @@ class GameLoop:
...
@@ -46,13 +54,6 @@ class GameLoop:
def
load_map
(
self
,
map_to_load
):
def
load_map
(
self
,
map_to_load
):
pass
pass
class
LoopHandle
:
def
quit
(
self
):
pass
def
change_surface
(
self
,
surface
):
pass
def
reload
(
self
):
pass
class
_Physics
:
class
_Physics
:
def
__init__
(
self
,
walls
):
def
__init__
(
self
,
walls
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment