Package modelo.policia

Examples of modelo.policia.OrdenDeArresto


  private Ladron ladron1;
  private Perfil perfil1;

  @Before
  public void setUp() throws NullPointerException {
    this.orden = new OrdenDeArresto();
    this.perfil1 = new Perfil("Jesse James", Sexo.MASCULINO, Cabello.RUBIO, Senia.TATUAJE, Vehiculo.LIMUSINA,
        Hobby.MUSICA);
    this.ladron1 = new Ladron(perfil1);
  }
View Full Code Here


    Policia policia = new Policia("Carl");
    policia.setTurno(turno);
    this.policia = policia;

    // Creo OrdenDeArresto
    OrdenDeArresto orden = new OrdenDeArresto();
    orden.agregarLadronABaseDeDatos(ladron);

    // Creo Partida
    this.partida = new Partida(policia, ladron, turno, orden);
  }
View Full Code Here

  public static Partida cargarPartida(Policia policia) throws ParserConfigurationException, SAXException, IOException {
    Document doc = inicializarDocumento(PATH + "partida" + policia.getRango().getNombre() + ".xml");

    Mapa mapa = cargarMapa();

    OrdenDeArresto orden = new OrdenDeArresto();
    orden.CargarBaseDeDatos();

    Partida unaPartida = Partida.deserializar(doc, policia, mapa, orden);
    return unaPartida;
  }
View Full Code Here

TOP

Related Classes of modelo.policia.OrdenDeArresto

Copyright © 2018 www.massapicom. 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.