Class Keyboard

java.lang.Object
  extended by greenfoot.Actor
      extended by Keyboard

public class Keyboard
extends greenfoot.Actor

Class that represents Keyboard object

Version:
12.06.2015
Author:
Maria - Despoina Gkaintatzi

Constructor Summary
Keyboard()
           
 
Method Summary
 void act()
          Act - do whatever the Keyboard wants to do.
 
Methods inherited from class greenfoot.Actor
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

Keyboard

public Keyboard()
Method Detail

act

public void act()
Act - do whatever the Keyboard wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.

Overrides:
act in class greenfoot.Actor