Class Arrow

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

public class Arrow
extends greenfoot.Actor

Class that represents a green arrow

Version:
12.06.2015
Author:
Maria - Despoina Gkaintatzi

Constructor Summary
Arrow()
          Constructor for the objects of class Arrow.
 
Method Summary
 void act()
          Act - do whatever the Arrow 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

Arrow

public Arrow()
Constructor for the objects of class Arrow.

Method Detail

act

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

Overrides:
act in class greenfoot.Actor