forked from SeAIPalette/SeAIPalette
注释删除
This commit is contained in:
parent
4f68d89ca6
commit
c84e8cea34
|
@ -8,7 +8,7 @@ class WildFire(object):
|
|||
super().__init__()
|
||||
self.actions_to_do = []
|
||||
self.delta_x = (0, 0, 1, -1, )
|
||||
self.delta_y = (1, -1, 0, 0, )
|
||||
self.delta_y = (1, -1, 0, 0, )
|
||||
|
||||
@ staticmethod
|
||||
def _is_valid_index(index, an_array):
|
||||
|
@ -23,12 +23,9 @@ class WildFire(object):
|
|||
|
||||
def step(self, state, info):
|
||||
if not self.empty():
|
||||
# if there're actions to do
|
||||
action = self.actions_to_do[0]
|
||||
del self.actions_to_do[0]
|
||||
return [action]
|
||||
|
||||
# print(state)
|
||||
x, y, _ = state
|
||||
fields = info['fields']
|
||||
|
||||
|
|
Loading…
Reference in New Issue