Class Car

java.lang.Object
  extended by greenfoot.Actor
      extended by Vehicle
          extended by Car

public class Car
extends Vehicle


Constructor Summary
Car()
           
 
Method Summary
 void act()
           
 void lookForBarrel()
           
 
Methods inherited from class Vehicle
atWorldEdge, canSee, move, turn
 
Methods inherited from class greenfoot.Actor
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, setImage, setImage, setLocation, setRotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Car

public Car()
Method Detail

act

public void act()
Overrides:
act in class Vehicle

lookForBarrel

public void lookForBarrel()