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

Examples of cz.cuni.mff.abacs.burglar.logics.objects.agents.Agent


  /** Select an agent to visualize it's intents. */
  public void setIntentSubjectSelected() {
    int mapX = this._selection.getX();
    int mapY = this._selection.getY();
   
    Agent agent = null;
   
    for(BaseObject object : this._map.getObjectsOnPosition(mapX, mapY)){
      if(
        object.isTypeOf(BaseInterface.Type.GUARD) ||
        object.isTypeOf(BaseInterface.Type.BURGLAR)
View Full Code Here


        node.getNodeName().equals(STR_GUARD)
      ){
        // get the element
        Element guardElement = (Element)node;
        // create the object
        Agent agent = XMLLoader.getGuard(guardElement, map);
        ret.add(agent);
      }
    }
    return ret;
  }
View Full Code Here

TOP

Related Classes of cz.cuni.mff.abacs.burglar.logics.objects.agents.Agent

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.