public class ScoreBoard
extends greenfoot.Actor
addObject(new ScoreBoard(800, 600), getWidth() / 2, getHeight() / 2);Where 800 by 600 should be replaced by the desired size of the score board.
Constructor and Description |
---|
ScoreBoard(int width,
int height)
Constructor for objects of class ScoreBoard.
|
act, addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turn, turnTowards