Adobe interview question

How do you implement a player's card class?