Migrate deck methods from Table to DeckStore
Closed this issue · 0 comments
codegard1 commented
Move all deck methods out of Table and into DeckStore
For each method:
-
add key to AppConstants
-
add action in AppActions
-
register action with dispatcher in Store
-
add method definition to Store
-
refactor method definition in store
-
update reference in Table
-
draw
-
drawRandom
-
drawFromBottomOfDeck
-
reset
-
shuffle
-
putOnBottomOfDeck
-
putOnTopOfDeck
-
select
-
deselect