Image function ( int arg0 , int arg1 ) { if ( arg0 < 0 || arg0 >= getWidth ( ) || arg1 < 0 || arg1 >= getHeight ( ) ) { return null ; } else { return tiles [ arg0 ] [ arg1 ] ; } }
gets the tile at the specified location . returns null if no tile is at the location or if the location is out of bounds . concode_field_sep Image[][] tiles concode_elem_sep LinkedList sprites concode_elem_sep Sprite player concode_field_sep void setTile concode_elem_sep void removeSprite concode_elem_sep int getHeight concode_elem_sep Sprite getPlayer concode_elem_sep void addSprite concode_elem_sep Iterator getSprites concode_elem_sep void setPlayer concode_elem_sep int getWidth