Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
autumn_rrs
autumn_agent_2023
Commits
68c5b1e6
Commit
68c5b1e6
authored
Nov 04, 2023
by
k20066
Browse files
modify priority
parent
ea76c045
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/autumn_2023/module/complex/CentralizedControlATHumanDetector.java
View file @
68c5b1e6
...
...
@@ -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
);
}
...
...
src/main/java/autumn_2023/module/complex/CentralizedControlFBAllocator.java
View file @
68c5b1e6
...
...
@@ -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
;
}
...
...
src/main/java/autumn_2023/module/complex/CentralizedControlFBHumanDetector.java
View file @
68c5b1e6
...
...
@@ -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,9 +71,9 @@ 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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment