Simple plateformer game playing

This commit is contained in:
2026-10-10 13:38:11 +02:00
commit 5cc2f19887
17 changed files with 531 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from game.blocks.block import Block
from game.gameState import GameState
class SpawnPointBlock(Block):
@property
def character(self):
return 'S'
@property
def type(self):
return 'spawn_point'
@property
def solid(self):
return False
def on_collision(self, gameState: GameState):
pass
def to_string(self):
return "🚩"