-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathg.py
More file actions
21 lines (14 loc) · 495 Bytes
/
g.py
File metadata and controls
21 lines (14 loc) · 495 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""This module stores globally mutable variables used by this program."""
from __future__ import annotations
import tcod.console
import tcod.context
import tcod.ecs
import game.state
context: tcod.context.Context
"""The window managed by tcod."""
world: tcod.ecs.Registry
"""The active ECS registry and current session."""
states: list[game.state.State] = []
"""A stack of states with the last item being the active state."""
console: tcod.console.Console
"""The current main console."""