Closed rodrigodelazcano closed 2 years ago
This PR edits the file structure for version v2.0.0 in the following way:
minigrid.py
core
actions.py
constants.py
grid.py
mission.py
roomgrid.py
world_object
utils
rendering.py
window.py
The package is also bumped to version v2.0.0 in the setup.py
setup.py
Please delete options that are not relevant.
Please attach before and after screenshots of the change if applicable.
pre-commit
pre-commit run --all-files
CONTRIBUTING.md
Description
This PR edits the file structure for version v2.0.0 in the following way:
minigrid.py
into sub-files for easier comprehension and keep them undercore
directory:actions.py
: class structure with the actions encodingsconstants.py
: constants in the environments such as object colorsgrid.py
: the grid classmission.py
: the mission space implementationroomgrid.py
: class for environments with roomsworld_object
: object classes (Wall, Ball, Goal, Floor, ...)utils
directory for rendering filesrendering.py
andwindow.py
The package is also bumped to version v2.0.0 in the
setup.py
Type of change
Please delete options that are not relevant.
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist:
pre-commit
checks withpre-commit run --all-files
(seeCONTRIBUTING.md
instructions to set it up)