java.lang.Object ASCIIArtiste
public class ASCIIArtiste
Constructor Summary | |
---|---|
ASCIIArtiste()
Create a new ASCIIArtiste object. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Test driver for ASCIIArtiste class, calling private methods. |
void |
printClub(int height)
Theoretically, print out a club using rows of stars and whitespace; right now just prints out a simple box. |
void |
printDiamond(int height)
Print out a diamond using rows of stars and whitespace. |
void |
printHeart(int height)
Print out a heart using rows of stars and whitespace. |
void |
printSpade(int height)
Print out a spade using rows of stars and whitespace. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASCIIArtiste()
Method Detail |
---|
public void printDiamond(int height)
height
- number of rows to usepublic void printHeart(int height)
height
- number of rows to usepublic void printSpade(int height)
height
- number of rows to usepublic void printClub(int height)
height
- number of rows to usepublic static void main(java.lang.String[] args)