update env.py
This commit is contained in:
2
env.py
2
env.py
@@ -1,4 +1,3 @@
|
|||||||
```python
|
|
||||||
import re
|
import re
|
||||||
import random
|
import random
|
||||||
from typing import Any, Dict, List, Optional, Tuple
|
from typing import Any, Dict, List, Optional, Tuple
|
||||||
@@ -249,4 +248,3 @@ class MazeConquerorsEnv(ta.Env):
|
|||||||
return self.state.current_player_id, []
|
return self.state.current_player_id, []
|
||||||
def close(self) -> Tuple[Dict, Dict]:
|
def close(self) -> Tuple[Dict, Dict]:
|
||||||
return self.state.rewards, self.state.game_info
|
return self.state.rewards, self.state.game_info
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user