@ Api public void addCard ( KEY_TYPE key , Canvas card ) { if ( currentCard != null ) { currentCard . hide ( ) ; } addMember ( card ) ; currentCard = card ; cards . put ( key , card ) ; }
Add a card to the deck and associate it with the specified key .