File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public enum Text {
113113 /**
114114 * A bright blue color.
115115 */
116- Turquoise (3 );
116+ Turquoise (31 );
117117
118118 final byte id ;
119119
Original file line number Diff line number Diff line change @@ -341,8 +341,19 @@ public WalkPosition breadthFirstSearch(
341341 return breadthFirstSearch (start , findCond , visitCond , true );
342342 }
343343
344- private List <Unit > filterPlayerUnits (final Collection <Unit > units ,
345- final Player player ) {
344+ public Tile getTile (final TilePosition tilePosition ) {
345+ return getData ().getTile (tilePosition );
346+ }
347+
348+ public Position getCenter () {
349+ return getData ().getMapData ().getCenter ();
350+ }
351+
352+ public List <TilePosition > getStartingLocations () {
353+ return getData ().getMapData ().getStartingLocations ();
354+ }
355+
356+ private List <Unit > filterPlayerUnits (final Collection <Unit > units , final Player player ) {
346357 // return this.units.stream().filter(u -> u instanceof PlayerUnit
347358 // && ((PlayerUnit)u).getPlayer().equals(player)).map(u ->
348359 // (PlayerUnit)u).collect(Collectors.toList());
You can’t perform that action at this time.
0 commit comments