Cleanup
This commit is contained in:
@@ -89,7 +89,7 @@ public class Sector{
|
|||||||
* Only sectors adjacent to non-wave sectors can be landed on.
|
* Only sectors adjacent to non-wave sectors can be landed on.
|
||||||
* TODO also preset sectors*/
|
* TODO also preset sectors*/
|
||||||
public boolean unlocked(){
|
public boolean unlocked(){
|
||||||
return hasBase();
|
return hasBase() || (preset != null && preset.alwaysUnlocked);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @return whether the player has a base here. */
|
/** @return whether the player has a base here. */
|
||||||
|
|||||||
@@ -365,15 +365,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
}).row();
|
}).row();
|
||||||
}
|
}
|
||||||
|
|
||||||
//display how many turns this sector has been attacked
|
|
||||||
//TODO implement properly
|
|
||||||
/*
|
|
||||||
if(sector.getTurnsPassed() > 0 && sector.hasBase()){
|
|
||||||
stable.row();
|
|
||||||
|
|
||||||
stable.add("[scarlet]" + Iconc.warning + " " + sector.getTurnsPassed() + "x attacks");
|
|
||||||
}*/
|
|
||||||
|
|
||||||
stable.row();
|
stable.row();
|
||||||
|
|
||||||
if((sector.hasBase() && mode == look) || canLaunch(sector) || (sector.preset != null && sector.preset.alwaysUnlocked)){
|
if((sector.hasBase() && mode == look) || canLaunch(sector) || (sector.preset != null && sector.preset.alwaysUnlocked)){
|
||||||
|
|||||||
Reference in New Issue
Block a user