Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- actionOnClick: ->
- _log 'Нажатие на кнопку'
- game.diceController.throwDice() # что возвращает?
- game.diceController.updateView()
- .then ->
- _log 'бросок'
- game.session.current.executeCourse(game.diceController.getDiceRoll())
- .then ->
- if game.session.isLastStep()
- _log 'обработка последнего хода юнита'
- game.environment.ExecuteStep()
- .then ->
- _log 'обработка последнего хода для сервиса воскрешения'
- game.resurrectionService.updateForPlayers()
- .then ->
- _log 'переключение игроков'
- game.session.current.checkLocation() # что возвращает?
- game.session.switchPlayer()
- .done()
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement