From 1b82d46aeb837b0d612288f853fcaa0e870bd1e8 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Sun, 1 Sep 2013 21:34:16 +0000 Subject: [PATCH] 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 --- src/micropolisj/engine/TileConstants.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/micropolisj/engine/TileConstants.java b/src/micropolisj/engine/TileConstants.java index 67e7779..ef34d70 100644 --- a/src/micropolisj/engine/TileConstants.java +++ b/src/micropolisj/engine/TileConstants.java @@ -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)));