Skip to content

Commit

Permalink
Update create_env_tutorial.md (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
Camel-light authored Nov 22, 2023
1 parent 9ed3681 commit 4373191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/create_env_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SimpleEnv(MiniGridEnv):
return "grand mission"
```

First, we need to create a class the inherits from `MiniGridEnv`, we call our class `SimpleEnv`. Then, we define a mission space, the recommended way to do it is to define a static function
First, we need to create a class that inherits from `MiniGridEnv`, we call our class `SimpleEnv`. Then, we define a mission space, the recommended way to do it is to define a static function.

```python
@staticmethod
Expand Down Expand Up @@ -235,4 +235,4 @@ def main():

if __name__ == "__main__":
main()
```
```

0 comments on commit 4373191

Please sign in to comment.