first commit
This commit is contained in:
commit
85be45e2b8
18 changed files with 605 additions and 0 deletions
21
g.py
Normal file
21
g.py
Normal file
|
|
@ -0,0 +1,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."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue