This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2021-04-12 20:20:36 -07:00
1 parent d645732eb3
commit 0f1333b308
8 files changed
+71 -45

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ public abstract class ButtonCycled extends Button
public ButtonCycled(int num) {
icons = new Image[num];
init();
}
@Override
public Image getRenderIcon()
@@ -13,6 +14,7 @@ public abstract class ButtonCycled extends Button
return icons[index];
}
public void init() {}
public int index;
public Image[] icons;
}