mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-17 23:04:47 +01:00
Initial Commit
This commit is contained in:
15
src/main/java/emu/nebula/data/BaseDef.java
Normal file
15
src/main/java/emu/nebula/data/BaseDef.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package emu.nebula.data;
|
||||
|
||||
public abstract class BaseDef implements Comparable<BaseDef> {
|
||||
|
||||
public abstract int getId();
|
||||
|
||||
public void onLoad() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(BaseDef o) {
|
||||
return this.getId() - o.getId();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user