aboutsummaryrefslogtreecommitdiff
path: root/engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java')
-rw-r--r--engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java b/engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java
new file mode 100644
index 0000000..76a222b
--- /dev/null
+++ b/engine/src/terrain/com/jme3/terrain/heightmap/ImageHeightmap.java
@@ -0,0 +1,30 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package com.jme3.terrain.heightmap;
+
+import com.jme3.texture.Image;
+
+/**
+ * A heightmap that is built off an image.
+ * If you want to be able to supply different Image types to
+ * ImageBaseHeightMapGrid, you need to implement this interface,
+ * and have that class extend Abstract heightmap.
+ *
+ * @author bowens
+ * @deprecated
+ */
+public interface ImageHeightmap {
+
+ /**
+ * Set the image to use for this heightmap
+ */
+ //public void setImage(Image image);
+
+ /**
+ * The BufferedImage.TYPE_ that is supported
+ * by this ImageHeightmap
+ */
+ //public int getSupportedImageType();
+}