Adds Edit Armor screen to edit a monster's armor stats.

This commit is contained in:
2021-05-29 19:46:28 -07:00
parent 82ce3d3788
commit f4dd3855d6
9 changed files with 396 additions and 91 deletions

View File

@@ -0,0 +1,15 @@
package com.majinnaibu.monstercards.helpers;
import java.util.Objects;
public final class ArrayHelper {
public static int indexOf(Object[] array, Object target) {
for (int index = 0; index < array.length; index++) {
if (Objects.equals(array[index], target)) {
return index;
}
}
return -1;
}
}