java.lang.Objectgreenfoot.Actor
Letter
public class Letter
This class creates a Letter object.
| Constructor Summary | |
|---|---|
Letter(java.awt.Color color)
Constructor for objects of class Letter. |
|
| Method Summary | |
|---|---|
void |
act()
Act - do whatever the Word wants to do. |
TextImage |
getTextImage()
Returns the image of the object Letter. |
| Methods inherited from class greenfoot.Actor |
|---|
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turn, turnTowards |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Letter(java.awt.Color color)
color(Color) - the color of the letter| Method Detail |
|---|
public void act()
act in class greenfoot.Actorpublic TextImage getTextImage()