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

modify priority

parent ea76c045
...@@ -67,8 +67,9 @@ public class CentralizedControlATHumanDetector extends HumanDetector { ...@@ -67,8 +67,9 @@ public class CentralizedControlATHumanDetector extends HumanDetector {
if(!this.isNeedRescueHuman(civ)){ if(!this.isNeedRescueHuman(civ)){
continue; continue;
} }
StandardMessagePriority level = StandardMessagePriority.HIGH; StandardMessagePriority level = StandardMessagePriority.NORMAL;
MessageCivilian civ_mes = new MessageCivilian(true, level, civ); MessageCivilian civ_mes = new MessageCivilian(true, level, civ);
messageManager.addMessage(civ_mes,true); messageManager.addMessage(civ_mes,true);
} }
......
...@@ -151,7 +151,6 @@ public class CentralizedControlFBAllocator extends FireTargetAllocator { ...@@ -151,7 +151,6 @@ public class CentralizedControlFBAllocator extends FireTargetAllocator {
this.fireBrigadeInfoMap.get(rowlist.get(i)).target = collist.get(allocate[i]); this.fireBrigadeInfoMap.get(rowlist.get(i)).target = collist.get(allocate[i]);
} }
//this.printAllocate(allocate, rowlist, collist, row); //this.printAllocate(allocate, rowlist, collist, row);
return this; return this;
} }
......
...@@ -60,7 +60,6 @@ public class CentralizedControlFBHumanDetector extends HumanDetector { ...@@ -60,7 +60,6 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
public HumanDetector updateInfo(MessageManager messageManager) { public HumanDetector updateInfo(MessageManager messageManager) {
logger.debug("Time:" + agentInfo.getTime()); logger.debug("Time:" + agentInfo.getTime());
super.updateInfo(messageManager); super.updateInfo(messageManager);
this.mm = messageManager; this.mm = messageManager;
Set<EntityID> changes = this.worldInfo.getChanged().getChangedEntities(); Set<EntityID> changes = this.worldInfo.getChanged().getChangedEntities();
...@@ -72,9 +71,9 @@ public class CentralizedControlFBHumanDetector extends HumanDetector { ...@@ -72,9 +71,9 @@ public class CentralizedControlFBHumanDetector extends HumanDetector {
if(!this.isNeedRescueHuman(civ)){ if(!this.isNeedRescueHuman(civ)){
continue; continue;
} }
StandardMessagePriority level = StandardMessagePriority.HIGH; StandardMessagePriority level = StandardMessagePriority.NORMAL;
MessageCivilian civ_mes = new MessageCivilian(true, level, civ); MessageCivilian civ_mes = new MessageCivilian(true, level, civ);
messageManager.addMessage(civ_mes,true); 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