Skip to content
Snippets Groups Projects
Commit edf18fd8 authored by Florian Schröder's avatar Florian Schröder
Browse files

Implement Fog of War feature in game environment

Added a Fog of War option that if activated, restricts the player's view in the game environment. This feature is an attribute in the game state, view_restriction, and incorporated into the get_json_state method to return player's viewing direction and angle if Fog of War is enabled. Additionally, added view restriction handling in the gui_2d_vis drawing method.
parent 274592dd
No related branches found
No related tags found
1 merge request!42Resolve "FOV of the players, fog-of-war like vision"
Pipeline #45103 passed