(Underdepths) Prepare for Pass 2
This commit is contained in:
1 parent
b240da35b3
commit
3db2b1bf0c
31 files changed
-3554
No files matched your search
@@ -1,16 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
class Entity:
|
||||
x: int
|
||||
y: int
|
||||
glyph: str
|
||||
color: tuple[int, int, int]
|
||||
name: str
|
||||
|
||||
@property
|
||||
def position(self) -> tuple[int, int]:
|
||||
return self.x, self.y
|
||||
Reference in new issue
Block a user