Center sectors map on most recently saved (played and not abandoned) sector (#375)
This commit is contained in:
committed by
Anuken
parent
18ddc040d1
commit
54dd67a435
@@ -86,6 +86,10 @@ public class Sectors{
|
||||
return grid.get(Bits.getLeftShort(position), Bits.getRightShort(position));
|
||||
}
|
||||
|
||||
public Iterable<Sector> getSectors(){
|
||||
return grid.values();
|
||||
}
|
||||
|
||||
public Difficulty getDifficulty(Sector sector){
|
||||
if(sector.difficulty == 0){
|
||||
return Difficulty.hard;
|
||||
|
||||
Reference in New Issue
Block a user