Nr.7: edited the 'Battlestate' and 'ShipMap' class

This commit is contained in:
Benjamin Feyer
2024-10-02 01:19:19 +02:00
parent 71a4ac8d12
commit 237bf15992
6 changed files with 14 additions and 5 deletions

View File

@@ -84,6 +84,7 @@ public void receivedEvent(ItemRemovedEvent event) {
@Override
public void receivedEvent(ItemAddedEvent event) {
if (shipMap == event.map())
add(event.item());
}
}