Class armadilha
java.lang.Object
greenfoot.Actor
armadilha
public class armadilha
extends greenfoot.Actor
Write a description of class armadilha 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
-
armadilha
public armadilha()
-
-
Method Details
-
act
public void act()Act - do whatever the armadilha wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.- Overrides:
act
in classgreenfoot.Actor
-