java.lang.Objectgreenfoot.World
Screen
public class Screen
This is where all the action of the game happens.
Field Summary |
---|
Fields inherited from class greenfoot.World |
---|
lock, READ_LOCK_TIMEOUT |
Constructor Summary | |
---|---|
Screen()
Constructor for objects of class Screen. |
Method Summary | |
---|---|
void |
act()
Act method for world. |
void |
addArrowRandom()
|
void |
addDoubleRandom()
|
void |
checkCols(int column)
|
void |
checkKeys()
|
void |
randomArrows()
|
Methods inherited from class greenfoot.World |
---|
addObject, getBackground, getCellSize, getColorAt, getHeight, getObjects, getObjectsAt, getWidth, isTiled, numberOfObjects, removeObject, removeObjects, repaint, setActOrder, setBackground, setBackground, setPaintOrder, setTiled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Screen()
Method Detail |
---|
public void act()
greenfoot.World
This method does nothing. It should be overridden in subclasses to implement an world's action.
act
in class greenfoot.World
public void addArrowRandom()
public void addDoubleRandom()
public void checkCols(int column)
public void checkKeys()
public void randomArrows()