X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fmap%2FMapTile.java;fp=tim%2Fprune%2Fgui%2Fmap%2FMapTile.java;h=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hp=36a494d839954da4f169fa90c2f349238d163abd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465;p=GpsPrune.git diff --git a/tim/prune/gui/map/MapTile.java b/tim/prune/gui/map/MapTile.java deleted file mode 100644 index 36a494d..0000000 --- a/tim/prune/gui/map/MapTile.java +++ /dev/null @@ -1,32 +0,0 @@ -package tim.prune.gui.map; - -import java.awt.Image; - -/** - * Simple wrapper to hold an image for a map tile - * and a boolean flag to show whether it's expired or not - */ -public class MapTile -{ - /** Image or null if no image available */ - private Image _image = null; - /** True if image expired, false if still fresh */ - private boolean _expired = false; - - /** Constructor */ - public MapTile(Image inImage, boolean inExpired) - { - _image = inImage; - _expired = inExpired; - } - - /** Get the image */ - public Image getImage() { - return _image; - } - - /** Return true if image is too old */ - public boolean isExpired() { - return _expired; - } -}