public class Flower extends Actor
Flower
is an actor that darkens over time. Some actors drop
flowers as they move. Constructor and Description |
---|
Flower()
Constructs a pink flower.
|
Flower(java.awt.Color initialColor)
Constructs a flower of a given color.
|
Modifier and Type | Method and Description |
---|---|
void |
act()
Causes the color of this flower to darken.
|
getColor, getDirection, getGrid, getLocation, moveTo, putSelfInGrid, removeSelfFromGrid, setColor, setDirection, toString