java.lang.Objectgreenfoot.Actor
Vehicle
Car
public class Car
| 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 |
|---|
public Car()
| Method Detail |
|---|
public void act()
act in class Vehiclepublic void lookForBarrel()