com.vadeen.neat.gui.stats.info.SpeciesInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neat-gui Show documentation
Show all versions of neat-gui Show documentation
GUI implemenation for com.vadeen.neat.
The newest version!
package com.vadeen.neat.gui.stats.info;
import com.vadeen.neat.species.Species;
public class SpeciesInfo {
private final int id;
private final int size;
public static SpeciesInfo of(Species s) {
return new SpeciesInfo(s.getId(), s.getSize());
}
private SpeciesInfo(int id, int size) {
this.id = id;
this.size = size;
}
public int getId() {
return id;
}
public int getSize() {
return size;
}
}