made door actionable
This commit is contained in:
parent
6a5e5d3137
commit
0d9de5b208
4 changed files with 13 additions and 14 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Final, Self
|
||||
from typing import Final, Self, Callable
|
||||
|
||||
import attrs
|
||||
import math
|
||||
|
|
@ -65,6 +65,8 @@ class Graphic:
|
|||
ch: int = ord("!")
|
||||
fg: tuple[int, int, int] = (255, 255, 255)
|
||||
|
||||
Action: Final = ("Action", Callable[[tcod.ecs.Entity], None])
|
||||
"""Possible action."""
|
||||
|
||||
Gold: Final = ("Gold", int)
|
||||
"""Amount of gold."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue