java.lang.Objectgreenfoot.Actor
MessageBoard
public class MessageBoard
Class that represents MessageBoard object
| Field Summary | |
|---|---|
static float |
FONT_SIZE
|
static int |
HEIGHT
|
static int |
WIDTH
|
| Constructor Summary | |
|---|---|
MessageBoard(java.lang.String title,
java.lang.String message)
Create a message board for displaying messages to the player. |
|
| Method Summary |
|---|
| Methods inherited from class greenfoot.Actor |
|---|
act, 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 |
| Field Detail |
|---|
public static final float FONT_SIZE
public static final int HEIGHT
public static final int WIDTH
| Constructor Detail |
|---|
public MessageBoard(java.lang.String title,
java.lang.String message)
message(String) - the message to be displayed.