18 lines
451 B
Python
18 lines
451 B
Python
"""This module stores globally mutable variables used by this program."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from tcod.context import Context
|
|
from tcod.ecs import Registry
|
|
|
|
from game.screens import Screen
|
|
from game.render import Renderer
|
|
|
|
world: Registry
|
|
"""The active ECS registry and current session."""
|
|
|
|
screens: list[Screen] = []
|
|
"""A stack of states with the last item being the active state."""
|
|
|
|
renderer: Renderer
|
|
"""Renderer for the game"""
|