Class menino
java.lang.Object
greenfoot.Actor
menino
public class menino
extends greenfoot.Actor
Write a description of class menino here.
- Version:
- (a version number or a date)
- Author:
- (your name)
-
Constructor Summary
-
Method Summary
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, sleepFor, turn, turnTowards
-
Constructor Details
-
menino
public menino()
-
-
Method Details
-
act
public void act()Act - do whatever the menino wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.- Overrides:
act
in classgreenfoot.Actor
-
moveAround
public void moveAround() -
hitWall
public boolean hitWall() -
hitTeleporte
public void hitTeleporte() -
hitGift
public void hitGift()
-