Files
agentic-labs-challenge/underdepths/entities/entity.py
T
2026-08-12 15:48:41 +02:00

17 lines
280 B
Python

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