mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Included overflow check methods
This commit is contained in:
parent
e69dbe2adf
commit
29c9ce696d
1 changed files with 4 additions and 0 deletions
|
@ -466,4 +466,8 @@ public interface Game extends MageItem, Serializable {
|
|||
UUID getMonarchId();
|
||||
|
||||
void setMonarchId(Ability source, UUID monarchId);
|
||||
|
||||
int addWithOverflowCheck(int base, int increment);
|
||||
|
||||
int subtractWithOverflowCheck(int base, int decrement);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue