public String getTile ( int x , int y ) { if ( ( x > getArrayWidth ( ) ) || ( y > getArrayHeight ( ) ) || ( x < 0 ) || ( y < 0 ) ) { throw new IllegalArgumentException ( ) ; } return image [ x ] [ y ] ; }
Gets a tile of the XPM Image .