Skip to content

Commit

Permalink
Updated wipe to die when it gets to the end instead of time based
Browse files Browse the repository at this point in the history
  • Loading branch information
dcheesman committed Feb 16, 2014
1 parent e91c017 commit 0e2b4c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Wipe.pde
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ class Wipe extends Effect {
imageBuffer.endDraw();
xpos++;
}

boolean finished(){
if(xpos>cols){
return true;
}
return false;
}
}

0 comments on commit 0e2b4c2

Please sign in to comment.