Core database tabs

This commit is contained in:
Anuken
2024-08-21 15:25:51 -04:00
parent 7bab8d1e3d
commit 67fb9f6a94
9 changed files with 83 additions and 4 deletions
+5
View File
@@ -139,6 +139,11 @@ public class TechTree{
}
}
/** Adds the specified tab to all the content in this tree. */
public void addDatabaseTab(UnlockableContent tab){
each(node -> node.content.databaseTabs.add(tab));
}
public Drawable icon(){
return icon == null ? new TextureRegionDrawable(content.uiIcon) : icon;
}