|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectItem
Flag
public class Flag
Constructor Summary | |
---|---|
Flag(Vector pos,
Environment env)
|
Method Summary | |
---|---|
boolean |
isPortable()
|
void |
performSpecificFunction(Item user)
|
Methods inherited from class Item |
---|
action, age, classImage, className, color, displacement, displacement, distanceFrom, distanceFrom, environment, image, incrementAge, isActive, isAlive, isEdible, isPushable, isSolid, message, messageCounter, position, radiusOfContact, reduceMessageCounter, remove, setActive, setAge, setColor, setEnvironment, setImage, setMessage, setPosition, setRadiusOfContact, showMessage, theCloser, toImage, touchingDistance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Flag(Vector pos, Environment env)
Method Detail |
---|
public void performSpecificFunction(Item user)
performSpecificFunction
in class Item
public boolean isPortable()
isPortable
in class Item
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |