コード例 #1
0
    def performAction(self, action):
        if not self.isFinished():

            EpisodicTask.performAction(self, action)
コード例 #2
0
ファイル: mariotask.py プロジェクト: nwang57/Mario-RL
 def performAction(self, action):
     if not self.isFinished():
         if type(action) is int:
             EpisodicTask.performAction(self, self.ACTION_MAPPING[action])
         else:
             EpisodicTask.performAction(self, action)
コード例 #3
0
ファイル: mariotask.py プロジェクト: DioMuller/ai-exercices
 def performAction(self, action):
     if not self.isFinished():
         EpisodicTask.performAction(self, action)