Package banco_imobiliario.AbstractFactoryLogradouro

Examples of banco_imobiliario.AbstractFactoryLogradouro.LogradouroPartidaFactory.criarLogradouro()


        LogradouroLucrosOuDividendosFactory lucrosOuDividandosFac = new LogradouroLucrosOuDividendosFactory();
        LogradouroVaParaPrisaoFactory vaParaPrisaoFac = new LogradouroVaParaPrisaoFactory();
        LogradouroParadaLivreFactory paradLivreFac = new LogradouroParadaLivreFactory();

        //Adicionando Logradouros ao tabuleiro
        tabuleiroConntrutor.adicionar(partidaFac.criarLogradouro(1));
        tabuleiroConntrutor.adicionar(imovelFac.criarLogradouro(2));
        tabuleiroConntrutor.adicionar(imovelFac.criarLogradouro(3));
        tabuleiroConntrutor.adicionar(empresaFac.criarLogradouro(4));
        tabuleiroConntrutor.adicionar(imovelFac.criarLogradouro(5));
        tabuleiroConntrutor.adicionar(imovelFac.criarLogradouro(6));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.