Refactor: overflow method naming

This commit is contained in:
Oleg Agafonov 2021-02-02 19:26:09 +04:00
parent 2393485320
commit b6f6bac5e0
51 changed files with 139 additions and 138 deletions

View file

@ -80,7 +80,7 @@ public class MageInt implements Serializable, Copyable<MageInt> {
}
public void boostValue(int amount) {
this.boostedValue = CardUtil.addWithOverflowCheck(this.boostedValue, amount);
this.boostedValue = CardUtil.overflowInc(this.boostedValue, amount);
}
public void resetToBaseValue() {