-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathg.py
More file actions
20 lines (14 loc) · 648 Bytes
/
g.py
File metadata and controls
20 lines (14 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Shorthand globals module. For sharing mutable objects across modules.
This is for organization and has no special effects.
"""
from __future__ import annotations
from typing import List
import tcod
import engine.state
import engine.world
context: tcod.context.Context # The active context.
states: List[engine.state.State] = [] # A stack of states, with the last item being the active state.
world: engine.world.World # The active world.
debug_dungeon_generation: bool = __debug__ # Visualize the dungeon being generated.
debug_fullbright: bool = False
debug_rendering: bool = False # Highlight areas which have not been drawn over.