package net.oni2.aeinstaller.backend.mods; import java.io.File; /** * @author Christian Illy */ public class Mod implements Comparable { private double aeVersion; private int node; private int packageNumber; public double getAEVersion() { return aeVersion; } public boolean hasSeparatePlatformDirs() { return aeVersion >= 2; } public File getLocalPath() { // TODO return null; } public boolean newerAvailable() { //TODO return false; } public boolean localAvailable() { //TODO return false; } public int getPackageNumber() { return packageNumber; } @Override public int compareTo(Mod o) { return getPackageNumber() - o.getPackageNumber(); } }