diff options
author | Julien Gouesse <[email protected]> | 2018-01-27 12:59:38 +0100 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2018-01-27 12:59:38 +0100 |
commit | bb42b2dbc95043a5141d033427339e6a80fc46c8 (patch) | |
tree | 6127178f2aa9e50d7b21ea82934b99b005103aba /ardor3d-examples | |
parent | f0119b61750022a45d7e93db8a0aa926b7704481 (diff) | |
parent | 1aae3c9d22835dded3f6cc6ba0d2e9cc040a92aa (diff) |
Merge commit '1aae3c9d22835dded3f6cc6ba0d2e9cc040a92aa'
Diffstat (limited to 'ardor3d-examples')
-rw-r--r-- | ardor3d-examples/src/main/java/com/ardor3d/example/ui/InteractUIExample.java | 8 |
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() { |