Correct names for buildings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user