overlay: use public getTrafficDensity() method to draw traffic overlay

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@860 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-09-28 16:33:43 +00:00
parent b18b51d08e
commit 99954a3619
2 changed files with 25 additions and 14 deletions

View file

@ -63,7 +63,7 @@ public class Micropolis
* If between 64 and 192, then the "light traffic" animation is used.
* If 192 or higher, then the "heavy traffic" animation is used.
*/
public int [][] trfDensity;
int [][] trfDensity;
// quarter-size arrays