Class Screen

java.lang.Object
  extended by greenfoot.World
      extended by Screen

public class Screen
extends greenfoot.World

This is where all the action of the game happens.

Version:
0.5
Author:
Impirator

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

Screen

public Screen()
Constructor for objects of class Screen. Creates the outline shapes at the top.

Method Detail

act

public void act()
Description copied from class: greenfoot.World
Act method for world. The act method is called by the greenfoot framework at each action step in the environment. The world's act method is called before the act method of any objects in the world.

This method does nothing. It should be overridden in subclasses to implement an world's action.

Overrides:
act in class greenfoot.World

addArrowRandom

public void addArrowRandom()

addDoubleRandom

public void addDoubleRandom()

checkCols

public void checkCols(int column)

checkKeys

public void checkKeys()

randomArrows

public void randomArrows()