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
80107203
Commit
80107203
authored
Nov 02, 2023
by
Joe Fujisawa
Browse files
clean リファクタ
parent
a0a35e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/autumn_2023/centralized/AuctionCommandExecutorFire.java
View file @
80107203
...
...
@@ -41,8 +41,7 @@ public class AuctionCommandExecutorFire extends CommandExecutor<CommandFire> {
super
.
updateInfo
(
messageManager
);
// FireStationから受信したMessageCivilianを収集
final
Set
<
EntityID
>
receivedCentreCivilians
=
messageManager
.
getReceivedMessageList
().
parallelStream
()
.
filter
(
MessageCivilian
.
class
::
isInstance
)
final
Set
<
EntityID
>
receivedCentreCivilians
=
messageManager
.
getReceivedMessageList
(
MessageCivilian
.
class
).
parallelStream
()
.
map
(
MessageCivilian
.
class
::
cast
)
.
filter
(
e
->
this
.
worldInfo
.
getEntity
(
e
.
getSenderID
())
instanceof
FireStation
)
.
map
(
MessageCivilian:
:
getAgentID
)
...
...
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