Included overflow check methods

This commit is contained in:
Zzooouhh 2017-12-20 00:20:27 +01:00 committed by GitHub
parent e69dbe2adf
commit 29c9ce696d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -466,4 +466,8 @@ public interface Game extends MageItem, Serializable {
UUID getMonarchId(); UUID getMonarchId();
void setMonarchId(Ability source, UUID monarchId); void setMonarchId(Ability source, UUID monarchId);
int addWithOverflowCheck(int base, int increment);
int subtractWithOverflowCheck(int base, int decrement);
} }