Refactor of mob powers loading for efficiency.
This commit is contained in:
1 parent
071eb26e48
commit
2e6ebbb9c3
7 files changed
+103
-47
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user