7879808182838485868788
BeliefBase knowledge = guard.getBeliefBase(); knowledge.seenFromNear(this.getOperablePositions()); // add the uniform: Uniform clothes = new Uniform(this.getNextID(), this); guard.addItem(clothes); this.addItem(clothes); this.addAgent(guard);
783784785786787788789790791792793
Item item; if(id != -1) item = subjectAgent.removeItem(id); else{ item = new Uniform(this.getNextID(), this); this.addItem(item); } agent.addItem(item); System.out.println(
737738739740741742743744745746747
guard.addItems(items); } } // add the uniform: Uniform clothes = new Uniform(map.getNextID(), map); guard.addItem(clothes); map.addItem(clothes); if(isStunned) guard.daze();