(Underdepths) Prepare for Pass 7

This commit is contained in:
AlexKucera committed 2026-08-15 19:39:24 +02:00
1 parent 6a9cf959b1
commit 13512b0476
27 files changed
-5608

No files matched your search

-20
View File
@@ -1,20 +0,0 @@
from __future__ import annotations
from dataclasses import dataclass
@dataclass(slots=True)
class Entity:
x: int = 0
y: int = 0
name: str = "Entity"
sprite_key: str = "entity"
blocks_movement: bool = True
@property
def position(self) -> tuple[int, int]:
return self.x, self.y
def move(self, dx: int, dy: int) -> None:
self.x += dx
self.y += dy