aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-examples/src
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-examples/src')
-rw-r--r--ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java b/ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java
index e93cf93..2e5dc1d 100644
--- a/ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java
+++ b/ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java
@@ -18,6 +18,7 @@ import com.ardor3d.bounding.BoundingBox;
import com.ardor3d.example.ExampleBase;
import com.ardor3d.example.Purpose;
import com.ardor3d.extension.interact.InteractManager;
+import com.ardor3d.extension.interact.InteractManager.UpdateLogic;
import com.ardor3d.extension.interact.data.SpatialState;
import com.ardor3d.extension.interact.filter.PlaneBoundaryFilter;
import com.ardor3d.extension.interact.widget.AbstractInteractWidget;
@@ -133,6 +134,13 @@ public class InteractUIExample extends ExampleBase {
// create a few way-markers to start things off
initPath();
+ manager.addUpdateLogic(new UpdateLogic() {
+
+ @Override
+ public void update(final double time, final InteractManager manager) {
+ manager.fireTargetDataUpdated();
+ }
+ });
}
private void addFloor() {