Commit f9e86c54 authored by Christian Moll's avatar Christian Moll

Replace deprecated getters

parent 50838c1a
......@@ -261,7 +261,7 @@ public class TuioAdapter extends TuiAdapter implements TuioListener {
@Override
public Collection<TangibleObject> getActiveCursors() {
Vector<TangibleObject> cursorList = new Vector<>();
for (TuioCursor cursor : client.getTuioCursors()) {
for (TuioCursor cursor : client.getTuioCursorList()) {
cursorList.add(convertTuioCursorToTangibleObject(cursor));
}
......@@ -276,7 +276,7 @@ public class TuioAdapter extends TuiAdapter implements TuioListener {
@Override
public Collection<TangibleObject> getActiveObjects() {
Vector<TangibleObject> objectList = new Vector<>();
for (TuioObject object : client.getTuioObjects()) {
for (TuioObject object : client.getTuioObjectList()) {
objectList.add(convertTuioObjectToTangibleObject(object));
}
......
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