public Space findSpace ( float x , float y ) { for ( int i = 0 ; i < spaces . size ( ) ; i ++ ) { Space space = getSpace ( i ) ; if ( space . contains ( x , y ) ) { return space ; } } return null ; }
Find the space at a given location