cleanup: do not use TileConstants. prefix when not needed

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@890 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-12-06 02:47:51 +00:00
parent f8d3532cf7
commit 3d2eaa62ff

View file

@ -2202,7 +2202,7 @@ public class Micropolis
int y = PRNG.nextInt(getHeight());
assert testBounds(x, y);
if (TileConstants.isVulnerable(getTile(x, y))) {
if (isVulnerable(getTile(x, y))) {
if (PRNG.nextInt(4) != 0) {
setTile(x, y, (char)(RUBBLE + BULLBIT + PRNG.nextInt(4)));
} else {
@ -2218,7 +2218,7 @@ public class Micropolis
int y = PRNG.nextInt(getHeight());
int t = getTile(x, y);
if (TileConstants.isArsonable(t)) {
if (isArsonable(t)) {
setTile(x, y, (char)(FIRE + PRNG.nextInt(8)));
crashLocation = new CityLocation(x, y);
sendMessageAt(MicropolisMessage.FIRE_REPORT, x, y);