Square function ( int arg0 , int arg1 ) { Assert . isTrue ( validateCoordinates ( arg0 , arg1 ) ) ; return this . squares . get ( arg0 * this . width + arg1 ) ; }
returns the square object from the given zero-based coordinates . concode_field_sep SmartList<Square> squares concode_elem_sep int width concode_elem_sep int height concode_field_sep int getHeight concode_elem_sep char getCharForSquare concode_elem_sep String toString concode_elem_sep boolean validateCoordinates concode_elem_sep int getWidth concode_elem_sep SmartList<Square> getSquares concode_elem_sep SmartList<Square> getNeighbors concode_elem_sep SmartList<Square> createSquares