mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08: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…
Add table
Add a link
Reference in a new issue