## Class ScoreBoard

    java.lang.Object
      greenfoot.Actor
          ScoreBoard

    public class ScoreBoard

extends greenfoot.Actor

An actor class that can display a scoreboard, using Greenfoot's UserInfo class. You typically use this by including some code into the world for when your game ends:

       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 Summary
`ScoreBoard(int width, int height)` Constructor for objects of class ScoreBoard.

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`

Constructor Detail

### ScoreBoard

    public ScoreBoard(int width,
                      int height)

  Constructor for objects of class ScoreBoard.

  You can specify the width and height that the score board should be, but a minimum width of 600 will be enforced.