Merge pull request #63 from rubenpirreram/tests-fix
Fixed: hasDrawable in Game
This commit is contained in:
@@ -701,11 +701,11 @@ public class Game implements Serializable {
|
|||||||
}
|
}
|
||||||
private boolean hasDrawableUp()
|
private boolean hasDrawableUp()
|
||||||
{
|
{
|
||||||
return getUpperListTribeCards().stream().filter(x-> !x.IsEventCard()).count()==0;
|
return getUpperListTribeCards().stream().filter(x-> !x.IsEventCard()).count()!=0;
|
||||||
}
|
}
|
||||||
private boolean hasDrawableDown()
|
private boolean hasDrawableDown()
|
||||||
{
|
{
|
||||||
return getLowerListTribeCards().stream().filter(x-> !x.IsEventCard()).count()==0;
|
return getLowerListTribeCards().stream().filter(x-> !x.IsEventCard()).count()!=0;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Resolves all pending event cards if the current game stage is {@code RESOLVING_EVENT}.
|
* Resolves all pending event cards if the current game stage is {@code RESOLVING_EVENT}.
|
||||||
|
|||||||
Reference in New Issue
Block a user