Refactor of mob powers loading for efficiency.

This commit is contained in:
2023-08-08 10:29:01 -04:00
parent 071eb26e48
commit 2e6ebbb9c3
7 changed files with 103 additions and 47 deletions
+17
View File
@@ -0,0 +1,17 @@
package engine.powers;
import java.sql.ResultSet;
import java.sql.SQLException;
public class MobPowerEntry {
public int token;
public int rank;
public MobPowerEntry(ResultSet rs) throws SQLException {
this.token = rs.getInt("token");
this.rank = rs.getInt("rank");
}
}