public class GreepSpit
extends greenfoot.Actor
| Constructor and Description |
|---|
GreepSpit()
Create some paint, of default color.
|
GreepSpit(java.lang.String color)
Create some paint, of specific fixed colors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
act()
With passing time, the color fades, and will eventually disappear.
|
java.lang.String |
getColor()
Return the color name of this paint drop.
|
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turn, turnTowards