public abstract class CS15Fruit
extends java.lang.Object
Constructor and Description |
---|
CS15Fruit()
Constructs a dirty and shrunken CS15Fruit
|
Modifier and Type | Method and Description |
---|---|
void |
chopGraphically()
A SUPPORT method that graphically chops fruit by making the image appear
more transparent.
|
java.lang.String |
getImage()
A SUPPORT method that allows you to choose an image (represented by a String path to a file) by returning its file path.
|
void |
moveFruit()
A SUPPORT method that will graphically move the fruit on the screen.
|
void |
ripen()
A SUPPORT method that graphically makes fruits appear less shrunken.
|
void |
splash()
A SUPPORT method that creates a splash on the screen at the fruit's last position.
|
void |
wash()
A SUPPORT method that graphically makes the fruit appear less dirty.
|
public void chopGraphically()
public java.lang.String getImage()
public void moveFruit()
public void ripen()
public void splash()
public void wash()