Class Dot

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

public class Dot
extends greenfoot.Actor

A dot! I mean, do you really need more explanation than this?

Version:
0.5
Author:
Impirator

Constructor Summary
Dot()
           
Dot(boolean random)
           
 
Method Summary
 void act()
          Act - do whatever the Dot wants to do.
 void colorDiscsInRange(int range)
           
 java.lang.String getColor()
           
 void removeThisColor()
           
 
Methods inherited from class greenfoot.Actor
addedToWorld, getHeight, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWidth, 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

Dot

public Dot()

Dot

public Dot(boolean random)
Method Detail

act

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

Overrides:
act in class greenfoot.Actor

colorDiscsInRange

public void colorDiscsInRange(int range)

getColor

public java.lang.String getColor()

removeThisColor

public void removeThisColor()