public class StandardCard extends Card
| Constructor and Description |
|---|
StandardCard() |
| Modifier and Type | Method and Description |
|---|---|
Image |
getImage()
Returns the image of the card.
|
String |
getText()
Returns the text of the card.
|
void |
setImage(Image image)
Sets the image of the card.
|
void |
setText(String text)
Sets the text of the card.
|
public String getText()
public void setText(String text)
text - the text to be setpublic Image getImage()
public void setImage(Image image)
image - the image to be setCopyright © 2016. All rights reserved.