2019-05-31 12:21:50 +00:00
|
|
|
package mlp
|
|
|
|
|
|
|
|
import "git.fromouter.space/mcg/draft"
|
|
|
|
|
2019-06-28 15:24:47 +00:00
|
|
|
// ToDraft converts multiple mlp.Card to draft.Card
|
2019-06-26 10:14:46 +00:00
|
|
|
func ToDraft(cards []Card) []draft.Card {
|
2019-05-31 12:21:50 +00:00
|
|
|
out := make([]draft.Card, len(cards))
|
|
|
|
for i, card := range cards {
|
|
|
|
out[i] = card.ToDraftCard()
|
|
|
|
}
|
|
|
|
return out
|
|
|
|
}
|