Skip to content

Commit

Permalink
fire all
Browse files Browse the repository at this point in the history
  • Loading branch information
marcigo36 committed Mar 24, 2017
1 parent 6ce99fe commit 5371780
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hu/bme/mit/spaceship/GT4500.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public boolean fireTorpedos(FiringMode firingMode) {

case ALL:
// try to fire both of the torpedos
//TODO implement feature
firingSuccess = secondaryTorpedoStore.fire(secondaryTorpedoStore.getNumberOfTorpedos())
& primaryTorpedoStore.fire(primaryTorpedoStore.getNumberOfTorpedos());

break;
}
Expand Down

0 comments on commit 5371780

Please sign in to comment.