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:
parent
bef75adc90
commit
1b82d46aeb
1 changed files with 0 additions and 12 deletions
|
@ -390,12 +390,6 @@ public class TileConstants
|
|||
((cell & LOMASK) <= LASTRUBBLE));
|
||||
}
|
||||
|
||||
public static boolean isTinyExplosion(int tile)
|
||||
{
|
||||
int tmp = tile & LOMASK;
|
||||
return (tmp >= SOMETINYEXP && tmp <= LASTTINYEXP);
|
||||
}
|
||||
|
||||
public static boolean isTree(char cell)
|
||||
{
|
||||
return (((cell & LOMASK) >= WOODS_LOW) &&
|
||||
|
@ -468,12 +462,6 @@ public class TileConstants
|
|||
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)
|
||||
{
|
||||
return (tile == DIRT || ((tile & BULLBIT) != 0 && isCombustible(tile)));
|
||||
|
|
Reference in a new issue