java.lang.Objectgreenfoot.Actor
cube
public class cube
Write a description of class cube here.
Field Summary | |
---|---|
int |
groundLevel
|
int |
ySpeed
|
Constructor Summary | |
---|---|
cube()
|
Method Summary | |
---|---|
void |
act()
Act - do whatever the cube wants to do. |
void |
die()
|
void |
jump()
|
Methods inherited from class greenfoot.Actor |
---|
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, 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 |
Field Detail |
---|
public int groundLevel
public int ySpeed
Constructor Detail |
---|
public cube()
Method Detail |
---|
public void act()
act
in class greenfoot.Actor
public void die()
public void jump()