Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2018-12-13 18:02:05 -05:00
4 changed files with 34 additions and 7 deletions

View File

@@ -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;