Skip to content

Commit

Permalink
Update sketch_11_10_BlobTracking_lifespan.pde
Browse files Browse the repository at this point in the history
updated to comment out  `matched.lifespan = maxLife;` instead of removing it.
  • Loading branch information
JoukeD authored Nov 9, 2018
1 parent a46902d commit a3e0b28
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ void draw() {
}
if (matched != null) {
matched.taken = true;
// Resetting the lifespan here is no longer necessary since setting `lifespan = maxLife;` in the become() method in Blob.pde
// matched.lifespan = maxLife;
matched.become(cb);
}
}
Expand Down

0 comments on commit a3e0b28

Please sign in to comment.