(Underdepths) Pass 5
This commit is contained in:
53 files changed
+5020
No files matched your search
@@ -0,0 +1,13 @@
|
||||
"""Base entity: position, identity, sprite key."""
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
class Entity:
|
||||
x: int
|
||||
y: int
|
||||
name: str
|
||||
sprite_key: str
|
||||
blocks: bool = True
|
||||
Reference in new issue
Block a user