refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability;

This commit is contained in:
Oleg Agafonov 2024-11-30 03:26:03 +04:00
parent 57ef74da90
commit d49ff89a81
76 changed files with 285 additions and 273 deletions

View file

@ -517,12 +517,12 @@ public class StackAbility extends StackObjectImpl implements Ability {
}
@Override
public boolean isInUseableZone(Game game, MageObject source, GameEvent event) {
public boolean isInUseableZone(Game game, MageObject sourceObject, GameEvent event) {
throw new UnsupportedOperationException("Not supported.");
}
@Override
public boolean hasSourceObjectAbility(Game game, MageObject source, GameEvent event) {
public boolean hasSourceObjectAbility(Game game, MageObject sourceObject, GameEvent event) {
throw new UnsupportedOperationException("Not supported.");
}