Class Ball

java.lang.Object
  extended by greenfoot.Actor
      extended by Ball

public class Ball
extends greenfoot.Actor

Write a description of class Ball here.

Version:
(a version number or a date)
Author:
(your name)

Constructor Summary
Ball()
           
 
Method Summary
 void act()
          Act - do whatever the Ball wants to do.
 
Methods inherited from class greenfoot.Actor
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, setImage, setImage, setLocation, setRotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ball

public Ball()
Method Detail

act

public void act()
Act - do whatever the Ball wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.

Overrides:
act in class greenfoot.Actor