public abstract class CS15Fruit
extends java.lang.Object
Constructor and Description |
---|
CS15Fruit() |
Modifier and Type | Method and Description |
---|---|
void |
chopGraphically()
A SUPPORT method that graphically chops the fruit by making the fruit image appear
more transparent.
|
java.lang.String |
getFruitImagePath()
Allows you to choose an image (represented by a String, a path to the image file).
|
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 |
setupImage()
A SUPPORT method that you must call immediately in order to get your fruits to show up graphically.
|
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 getFruitImagePath()
public void ripen()
public void splash()
public void wash()
public void moveFruit()
public void setupImage()