jcbantuelle/dominion-meteor

View on GitHub
app/cards/promo/stash.js

Summary

Maintainability
A
1 hr
Test Coverage
Stash = class Stash extends Card {

  types() {
    return ['treasure']
  }

  coin_cost() {
    return 5
  }

  play(game, player_cards) {
    let coin_gainer = new CoinGainer(game, player_cards)
    coin_gainer.gain(2, false)
  }

}