mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 00:17:51 +00:00
22 lines
361 B
Java
22 lines
361 B
Java
package codechicken.nei;
|
|
|
|
public abstract class ButtonCycled extends Button {
|
|
|
|
public ButtonCycled() {}
|
|
|
|
public ButtonCycled(int num) {
|
|
icons = new Image[num];
|
|
init();
|
|
}
|
|
|
|
@Override
|
|
public Image getRenderIcon() {
|
|
return icons[index];
|
|
}
|
|
|
|
public void init() {}
|
|
|
|
public int index;
|
|
public Image[] icons;
|
|
}
|