-
- Downloads
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
Showing
- overcooked_simulator/game_server.py 1 addition, 1 deletionovercooked_simulator/game_server.py
- overcooked_simulator/gui_2d_vis/drawing.py 5 additions, 1 deletionovercooked_simulator/gui_2d_vis/drawing.py
- overcooked_simulator/overcooked_environment.py 26 additions, 16 deletionsovercooked_simulator/overcooked_environment.py
- overcooked_simulator/state_representation.py 1 addition, 0 deletionsovercooked_simulator/state_representation.py
Please register or sign in to comment