You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Hand and Deck is basically a list of Card. Some methods like contain, getSize, etc have already been defined in Java List Interface. Why don't we create class Hand extends ArrayList instead?
This Hand and Deck is basically a list of Card. Some methods like
contain
,getSize
, etc have already been defined in Java List Interface. Why don't we create class Hand extends ArrayList instead?https://github.com/William9923/CardGameOOP/blob/2fc745ec072ade073f5a9d2a06789045347dff5e/src/main/java/com/avatarduel/model/Hand.java#L7-L22
https://github.com/William9923/CardGameOOP/blob/2fc745ec072ade073f5a9d2a06789045347dff5e/src/main/java/com/avatarduel/model/Deck.java#L7-L20
This issue is only a suggestion. You may ignore it (not all the suggestions are true), challenge it, or come up with another idea yourself.
The text was updated successfully, but these errors were encountered: