19 lines
394 B
Python
19 lines
394 B
Python
from typing import NamedTuple, Union
|
|
|
|
|
|
class PlandoItem(NamedTuple):
|
|
item: str
|
|
location: str
|
|
world: Union[bool, str] = False # False -> own world, True -> not own world
|
|
from_pool: bool = True # if item should be removed from item pool
|
|
|
|
|
|
class PlandoConnection(NamedTuple):
|
|
entrance: str
|
|
exit: str
|
|
direction: str # entrance, exit or both
|
|
|
|
|
|
class World():
|
|
pass
|