Commit 68c5b1e6 authored by k20066's avatar k20066
Browse files

modify priority

parent ea76c045
......@@ -67,8 +67,9 @@ public class CentralizedControlATHumanDetector extends HumanDetector {
if(!this.isNeedRescueHuman(civ)){
continue;
}
StandardMessagePriority level = StandardMessagePriority.HIGH;
StandardMessagePriority level = StandardMessagePriority.NORMAL;
MessageCivilian civ_mes = new MessageCivilian(true, level, civ);
messageManager.addMessage(civ_mes,true);
}
......
......@@ -151,7 +151,6 @@ public class CentralizedControlFBAllocator extends FireTargetAllocator {
this.fireBrigadeInfoMap.get(rowlist.get(i)).target = collist.get(allocate[i]);
}
//this.printAllocate(allocate, rowlist, collist, row);
return this;
}
......
......@@ -60,7 +60,6 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
public HumanDetector updateInfo(MessageManager messageManager) {
logger.debug("Time:" + agentInfo.getTime());
super.updateInfo(messageManager);
this.mm = messageManager;
Set<EntityID> changes = this.worldInfo.getChanged().getChangedEntities();
......@@ -72,7 +71,7 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
if(!this.isNeedRescueHuman(civ)){
continue;
}
StandardMessagePriority level = StandardMessagePriority.HIGH;
StandardMessagePriority level = StandardMessagePriority.NORMAL;
MessageCivilian civ_mes = new MessageCivilian(true, level, civ);
messageManager.addMessage(civ_mes,true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment