Lektion 2 Logische Operatoren
This commit is contained in:
@@ -14,6 +14,7 @@ void draw() {
|
||||
} else if (d > 50 && touched == true) {
|
||||
d--;
|
||||
}
|
||||
|
||||
// switch between increasing and decreasing
|
||||
if (touched == true && d == 50) {
|
||||
touched = false;
|
||||
|
||||
Reference in New Issue
Block a user