Fixed some stuff, procrastinating the real problem
All checks were successful
Build Dusk / build-linux (push) Successful in 47s
Build Dusk / build-psp (push) Successful in 1m6s

This commit is contained in:
2025-11-16 16:18:01 -06:00
parent 9a59c22288
commit c874e6c197
14 changed files with 161 additions and 154 deletions

View File

@@ -2,10 +2,10 @@ from dusk.event import Event
from editortool.map.mapdata import MAP_WIDTH, MAP_HEIGHT, MAP_DEPTH
class Map:
def __init__(self):
def __init__(self, parent):
self.parent = parent
self.position = [0, 0, 0] # x, y, z
self.positionEvent = Event()
self.chunks = []
def moveTo(self, x, y, z):
self.position = [x, y, z]
@@ -16,7 +16,4 @@ class Map:
self.position[0] + x,
self.position[1] + y,
self.position[2] + z
)
# Singleton instance
map = Map()
)