- View getViewForPosition(int x,int y)
- {
- if(isInBounds(x,y)) //ist im Quad, bei Polygonen einfach die orthogonalen Richtungsvektoren nehmen und multiplizieren...
- {
- View output = this;
- foreach(View child in children)
- {
- View test = child.getViewForPosition(x,y);
- if(test != null)
- {
- output = test;
- }
- }
- return output;
- }
- return null;
- }