Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Ball {
- location=new PVector;
- speed= new PVector;
- int durchmesser;
- Ball(PVector location, PVector speed) {
- this.location=location;
- this.speed=speed;
- }
- void render() {
- ellipse(location.x, location.y, d, d)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement