refactor/typisierung-und-collisions #1
1 changed files with 4 additions and 6 deletions
8
game.py
8
game.py
|
|
@ -44,15 +44,13 @@ class Game:
|
|||
self.player = Player(self, (50, 50), (8, 15))
|
||||
|
||||
self.tilemap = Tilemap(self, 16)
|
||||
try:
|
||||
self.tilemap.load("map.json")
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
self.clouds = Clouds(self.assets["clouds"], count=16)
|
||||
self.isJumping = False
|
||||
self.scroll = [0, 0]
|
||||
self.test: dict = {"dsa"}
|
||||
|
||||
def testolino(self):
|
||||
print(self.test)
|
||||
print(type(self.test))
|
||||
|
||||
def run(self):
|
||||
while self.running:
|
||||
|
|
|
|||
Loading…
Reference in a new issue