skiwi2 / TCG

A trading card game featuring a simple AI, initially designed for codereview.stackexchange.com Coding Challenge #2.
7 stars 1 forks source link

Add getCapacity() and getRemainingCapacity() to Hand #65

Closed skiwi2 closed 10 years ago

skiwi2 commented 10 years ago

Both methods should be added to the Hand class, getCapacity() is neccessary, while hasCapacityFor() is a convienience method.

skiwi2 commented 10 years ago

hasCapacityFor() should be dropped in favor of getRemainingCapacity().