overlay: use public getLandValue() method to draw landvalue overlay

instead of directly accessing the landValueMem[] array

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@864 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-09-28 16:34:28 +00:00
parent 275139c2d1
commit 2b60d14e96
2 changed files with 26 additions and 14 deletions

View file

@ -35,7 +35,7 @@ public class Micropolis
* 0 is lowest land value; 250 is maximum land value.
* Updated each cycle by ptlScan().
*/
public int [][] landValueMem;
int [][] landValueMem;
/**
* For each 2x2 section of the city, the pollution level of the city (0-255).