Example #1
0
from actions.Action import Action

parser = Action.actionParser()
items = parser.parse(filename="config/Actions.json")
print(items)
Example #2
0
File: Game.py Project: fila95/Gaia
 def start(self):
     self.availableActions = Action.actionParser().parse(
         filename="config/Action_elementari_2.json")
     self.currentActionIndex = -1
     self.nextAction()