feat/refactor: actually track win conditions
This commit is contained in:
@ -40,6 +40,11 @@ public class Inventory implements Iterable<StoneType> {
|
||||
return size - content.size();
|
||||
}
|
||||
|
||||
/** Returns the number stones the inventory has. */
|
||||
public int getSize() {
|
||||
return content.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the inventory contains the given stone.
|
||||
* @param stone The {@link StoneType} to check for
|
||||
|
Reference in New Issue
Block a user