deck-building-steps.js 502 B

12345678910111213141516
  1. 'use strict';
  2. export const DeckBuildingSteps = self => ({
  3. selectFactionDeck: (renderer,heroFactory) => {
  4. self.player.faction = renderer.getInput(self.player.name + ' to choose faction');
  5. self.player.setHeroesDeck(heroFactory.getFactionRandom(self.player.faction));
  6. },
  7. selectDraftHeroes: (heroesDraftBurst) => {
  8. console.log('Choose 2 heroes among : ', heroesDraftBurst);
  9. },
  10. selectTournamentDeck: (allHeroes) => {
  11. console.log('Choose 12 heroes among : ', allHeroes);
  12. }
  13. });