Package modelo.policia

Examples of modelo.policia.Policia


    // Creo Turno
    Turno turno = new Turno(locacionInicial);
    this.turno = turno;

    // Creo Policia
    this.policia = new Policia("John");
    this.policia.setTurno(turno);
  }
View Full Code Here


    // Creo Turno
    Turno turno = new Turno(locacionInicial);
    this.turno = turno;

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

    // Creo OrdenDeArresto
    OrdenDeArresto orden = new OrdenDeArresto();
    orden.agregarLadronABaseDeDatos(ladron);
View Full Code Here

public class Juego {

  private Policia policia;

  public Partida nuevaPartida() throws ParserConfigurationException, SAXException, IOException {
    this.policia = new Policia("Jack Bauer");
    return LectorXML.cargarPartida(this.policia);
  }
View Full Code Here

  @Before
  public void setUp() throws ParserConfigurationException, SAXException, IOException, LadronNoPlaneoEscapeException {
    this.mapa = LectorXML.cargarMapa();
    this.ladrones = LectorXML.cargarLadrones();
    this.partida = LectorXML.cargarPartida(new Policia("Phil"));
  }
View Full Code Here

TOP

Related Classes of modelo.policia.Policia

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.