Skip to content

Commit

Permalink
Mise à jour visibilité des ponts posable et supprimable
Browse files Browse the repository at this point in the history
  • Loading branch information
tetelie committed Apr 15, 2024
1 parent 778c42c commit cf484a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected void paintComponent(Graphics g) {
g2.setColor(color);

// Si les deux ils du pont ne sont pas pleines
if(!isIsleFull(bridge.getIle1()) && !isIsleFull(bridge.getIle2())) {
if((!isIsleFull(bridge.getIle1()) && !isIsleFull(bridge.getIle2())) || isBridgeExist(bridge.getIle1(), bridge.getIle2())) {

// Si le pont est horizontal
if (estHorizontal(bridge)) {
Expand Down

0 comments on commit cf484a6

Please sign in to comment.