Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Walking w1;
- void setup () {
- size(550,500);
- w1 = new Walking(100);
- }
- void draw() {
- if (mousePressed) {
- background(mouseX, 200, mouseY);
- } else {
- background(140, 200, 233);
- }
- w1.move();
- w1.display();
- }
Add Comment
Please, Sign In to add comment