|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectItem
Teather
Slug
public class Slug
Field Summary | |
---|---|
private MovingItem |
A
|
private MovingItem |
B
|
private boolean |
expanding
|
private static int |
maxLength
|
private static int |
minLength
|
Constructor Summary | |
---|---|
Slug(Vector pos,
Environment env)
|
Method Summary | |
---|---|
void |
action()
|
boolean |
expanding()
|
void |
toggleExpanding()
|
Methods inherited from class Teather |
---|
anchorItem, classImage, isSolid, length, setAnchorItem, setLength, setTeatherItem, teatherItem |
Methods inherited from class Item |
---|
age, className, color, displacement, displacement, distanceFrom, distanceFrom, environment, image, incrementAge, isActive, isAlive, isEdible, isPortable, isPushable, message, messageCounter, performSpecificFunction, 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 |
Field Detail |
---|
private MovingItem A
private MovingItem B
private static int minLength
private static int maxLength
private boolean expanding
Constructor Detail |
---|
public Slug(Vector pos, Environment env)
Method Detail |
---|
public boolean expanding()
public void toggleExpanding()
public void action()
action
in class Teather
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |