Fix so proper zones revealed when activating targeted ability

This commit is contained in:
drdev
2014-07-21 02:11:19 +00:00
parent 2d0c0a05f7
commit 007ebc3e9c
5 changed files with 57 additions and 7 deletions

View File

@@ -394,6 +394,17 @@ public class GuiDesktop implements IGuiBase {
return FControl.instance.getObservedGame();
}
@Override
public boolean openZone(ZoneType zoneType, Set<Player> players) {
switch (zoneType) {
case Battlefield:
case Hand:
return true; //don't actually need to open anything, but indicate that zone can be opened
default:
return false;
}
}
@Override
public void updateZones(List<Pair<Player, ZoneType>> zonesToUpdate) {
CMatchUI.SINGLETON_INSTANCE.updateZones(zonesToUpdate);