Advertisement
Guest User

Untitled

a guest
May 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. class Ball {
  2.  
  3. location=new PVector;
  4. speed= new PVector;
  5. int durchmesser;
  6.  
  7. Ball(PVector location, PVector speed) {
  8. this.location=location;
  9. this.speed=speed;
  10. }
  11.  
  12.  
  13. void render() {
  14. ellipse(location.x, location.y, d, d)
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement