Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void cargarCrucigrama( File archivoCrucigrama ) throws Exception
- {
- // Cargar las letras del archivo de propiedades
- Properties infoCrucigrama = new Properties( );
- InputStream inputLetras = new FileInputStream( archivoCrucigrama );
- int columnas = Integer.parseInt( infoCrucigrama.getProperty( "crucigrama.columnas" ) );
- int filas = Integer.parseInt( infoCrucigrama.getProperty( "crucigrama.filas" ) );
- int verticales = Integer.parseInt( infoCrucigrama.getProperty( "crucigrama.palabrasVerticales" ) );
- int horizontales = Integer.parseInt( infoCrucigrama.getProperty( "crucigrama.palabrasHorizontales" ) );
- letras = new Letra[columnas][filas];
- palabrasVerticales = new ArrayList( );
- for( int i = 1; i <= verticales; i++ )
- {
- String palabrasVerticales = infoCrucigrama.getProperty( "" + i );
- }
- palabrasHorizontales = new ArrayList( );
- for( int i = 1; i <= horizontales; i++ )
- {
- String palabrasHorizontales = infoCrucigrama.getProperty( "" + i +"" );
- }
- descripcionV = new ArrayList ();
- for (int i = 1;i<=verticales;i++)
- {
- }
- descripcionH = new ArrayList ();
- for (int i = 1;i<=horizontales;i++)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement