Skip to content

Instantly share code, notes, and snippets.

@cheriimoya
Created June 10, 2017 20:19
Show Gist options
  • Save cheriimoya/17a7e78e9f8ae70885060ae96d9f73b3 to your computer and use it in GitHub Desktop.
Save cheriimoya/17a7e78e9f8ae70885060ae96d9f73b3 to your computer and use it in GitHub Desktop.
int jetzt;
int bildTimer;
void setup(){
erstelle();
}
void draw(){
jetzt = second();
test();
}
void erstelle(){
bildTimer = second();
}
void test(){
if(jetzt>bildTimer+3){
println("bild ist abgelaufen");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment