cleanup: remove two obsolete functions from TileConstants.java

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@833 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-09-01 21:34:16 +00:00
parent bef75adc90
commit 1b82d46aeb

View file

@ -390,12 +390,6 @@ public class TileConstants
((cell & LOMASK) <= LASTRUBBLE)); ((cell & LOMASK) <= LASTRUBBLE));
} }
public static boolean isTinyExplosion(int tile)
{
int tmp = tile & LOMASK;
return (tmp >= SOMETINYEXP && tmp <= LASTTINYEXP);
}
public static boolean isTree(char cell) public static boolean isTree(char cell)
{ {
return (((cell & LOMASK) >= WOODS_LOW) && return (((cell & LOMASK) >= WOODS_LOW) &&
@ -468,12 +462,6 @@ public class TileConstants
return tile >= 0 && (tile & BULLBIT) != 0; return tile >= 0 && (tile & BULLBIT) != 0;
} }
public static boolean isFlood(int tile)
{
int tmp = tile & LOMASK;
return (tmp >= FLOOD && tmp < RADTILE);
}
static boolean isFloodable(int tile) static boolean isFloodable(int tile)
{ {
return (tile == DIRT || ((tile & BULLBIT) != 0 && isCombustible(tile))); return (tile == DIRT || ((tile & BULLBIT) != 0 && isCombustible(tile)));