Package cz.cuni.mff.abacs.burglar.logics

Examples of cz.cuni.mff.abacs.burglar.logics.ExecutingMap


   */
  @Override
  public void run() {
    long startTime = System.currentTimeMillis();
   
    ExecutingMap map = XMLLoader.load(this._mapFile);
    ExecutingMap secondaryMap = XMLLoader.load(this._mapFile);
   
    long endTime = System.currentTimeMillis();
   
    long duration = endTime - startTime;
   
View Full Code Here


    if(doc == null)
      return null;
    // get the root element
    Element root = doc.getDocumentElement();
   
    ExecutingMap ret =
        new ExecutingMap(
            XMLLoader.getHighestID(root) + 1,
            XMLLoader.getRequiredTrapRoomCount(root)
        );
   
    ret.addRooms(XMLLoader.getRooms(root, ret));
    ret.addPositions(XMLLoader.getPositions(root, ret));
    ret.addAgents(XMLLoader.getAgents(root, ret));
    ret.addItems(XMLLoader.getItems(root, ret));
   
    ret.addLevelNotes(XMLLoader.getNotes(root));
   
    ret.connectPositions();
   
    return ret;
  }
View Full Code Here

TOP

Related Classes of cz.cuni.mff.abacs.burglar.logics.ExecutingMap

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.