Skip to content
Snippets Groups Projects
  • Florian Schröder's avatar
    edf18fd8
    Implement Fog of War feature in game environment · edf18fd8
    Florian Schröder authored
    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.
    edf18fd8
    History
    Implement Fog of War feature in game environment
    Florian Schröder authored
    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.