Refactor MathUtil out of BattleController

This commit is contained in:
henriquenakashima 2020-10-13 23:03:21 -04:00
parent 60e8d2e3e0
commit db92332783
3 changed files with 17 additions and 5 deletions

View file

@ -0,0 +1,5 @@
public static class MathUtil {
public static int TrueMod(int a, int b) {
return (a % b + b) % b;
}
}