"""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