Skip to content

Commit

Permalink
fix show
Browse files Browse the repository at this point in the history
  • Loading branch information
sixhat committed Feb 8, 2020
1 parent 6d137d0 commit 31ef49d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions lib/utils.dave.p5.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// utils.dave.p5.js v.40
// utils.dave.p5.js v.43
class Dave {
// Short version of functions bellow.
constructor() {
Expand Down Expand Up @@ -206,13 +206,13 @@ class Turtle {
show(){
this.push();
stroke('pink');
this.penDown();
this.down();
this.rt(10);
this.fd(-30);
this.fd(30);
this.fd(-10);
this.fd(10);
this.lt(20);
this.fd(-30);
this.pot();
this.fd(-10);
this.pop();
}

color(c) {
Expand Down
10 changes: 5 additions & 5 deletions src/turtle.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ class Turtle {
show(){
this.push();
stroke('pink');
this.penDown();
this.down();
this.rt(10);
this.fd(-30);
this.fd(30);
this.fd(-10);
this.fd(10);
this.lt(20);
this.fd(-30);
this.pot();
this.fd(-10);
this.pop();
}

color(c) {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
40
43

0 comments on commit 31ef49d

Please sign in to comment.