Commit 050d2f9b authored by Valérie Maquil's avatar Valérie Maquil

added method to get tangible objects left of widget

parent d857a08c
......@@ -135,4 +135,6 @@ public abstract class TangibleContentManager implements ContentEventListener {
content.initialise();
}
}
}
\ No newline at end of file
......@@ -270,6 +270,11 @@ public class SpatialPositioningManager implements SpatialEventListener {
return widgets;
}
public List<TangibleObject> getObjectToLeftOf(BaseWidget widget) {
return spatialMatrix.leftOf(TangibleObjectManager.getIdentifier(widget));
}
/**
* Method for returning a list of widgets that are to the right of a given widget. The method
* either returns all objects no matter their alignment with this widget, or only returns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment