130 |
coords.activate(matcher.getCS(key)); |
coords.activate(matcher.getCS(key)); |
131 |
} |
} |
132 |
|
|
133 |
public Object getKeyAt(float x, float y, float[] targetcoords) { |
/** Get the topmost activated coordsys at (x,y), whose nearest activated |
134 |
return null; |
* * direct ancestor (not determining) is parent. |
135 |
|
* */ |
136 |
|
public int getCSAt(int parent, float x, float y, float[] targetcoords) { |
137 |
|
return coords.getCSAt(parent, x, y, targetcoords); |
138 |
} |
} |
139 |
|
|
140 |
|
public Object getKeyAt(int parent, float x, float y, float[] targetcoords) { |
141 |
|
return matcher.getKey(coords.getCSAt(parent, x, y, targetcoords)); |
142 |
|
} |
143 |
|
|
144 |
|
|
145 |
|
|
146 |
public void dump() { |
public void dump() { |
147 |
map.dump(); |
map.dump(); |
148 |
coords.dump(); |
coords.dump(); |