mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-16 14:24:57 +01:00
16 lines
260 B
Java
16 lines
260 B
Java
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();
|
|
}
|
|
}
|