daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class seifenblasen {
  2.  
  3.   float x;
  4.   float y;
  5.   float b = random(1, 5);
  6.   float h = random(1, 5);
  7.   float xBewegung = random(-1, 1.5);
  8.   float yBewegung = random(-1, 1.5);
  9.  
  10.   seifenblasen(float _x, float _y) {
  11.     x = _x;
  12.     y = _y;
  13.   }
  14.  
  15.   void zeichneBlasen() {
  16.     fill(#484848);
  17.     ellipse(x, y, b, h);
  18.   }
  19.  
  20.   void bewegungBlasen() {
  21.     x += xBewegung;
  22.     y += yBewegung;
  23.   }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top