Correct names for buildings

This commit is contained in:
Anuken
2020-08-11 11:12:18 -04:00
parent bb3c80c055
commit 2b96d30255
98 changed files with 219 additions and 430 deletions

View File

@@ -26,7 +26,7 @@ public class CoreItemsDisplay extends Table{
margin(4);
update(() -> {
CoreEntity core = Vars.player.team().core();
CoreBuild core = Vars.player.team().core();
for(Item item : content.items()){
if(core != null && core.items.get(item) > 0 && usedItems.add(item)){
@@ -38,7 +38,7 @@ public class CoreItemsDisplay extends Table{
int i = 0;
CoreEntity core = Vars.player.team().core();
CoreBuild core = Vars.player.team().core();
for(Item item : content.items()){
if(usedItems.contains(item)){
image(item.icon(Cicon.small)).padRight(3);

View File

@@ -37,7 +37,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
private int launchRange;
private float zoom = 1f, selectAlpha = 1f;
private @Nullable Sector selected, hovered, launchSector;
private CoreEntity launcher;
private CoreBuild launcher;
private Mode mode = look;
private boolean launching;
@@ -93,7 +93,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
return super.show();
}
public void show(Sector sector, CoreEntity launcher){
public void show(Sector sector, CoreBuild launcher){
this.launcher = launcher;
selected = null;
hovered = null;