fix issue with block placement

This commit is contained in:
2025-01-31 20:14:48 +08:00
parent e2cdd2e4e5
commit 3cb2bf4b74
3 changed files with 23 additions and 9 deletions

View File

@@ -52,3 +52,13 @@ class AirBlock(Block):
def __init__(self, x: int, y: int):
super().__init__(x, y)
class WaterBlock(Block):
id = 'water'
color = COLORS.get(id)
flowable = True
collision = False
def __init__(self, x: int, y: int):
super().__init__(x, y)