Class Node
java.lang.Object
|
+--Node
- public class Node
- extends java.lang.Object
This class represents a single "node" in the system
Method Summary |
boolean |
footIsDragging()
true iff this node has it's "foot" placed down on the floor... |
boolean |
hasActiveFeet()
true iff this node has "feet" that can be placed down... |
boolean |
isSelected()
true iff this node is currently selected... |
static void |
main(java.lang.String[] args)
|
void |
setInitialSize(byte i,
byte d)
set the diameter of an node to "diam" |
void |
setMass(byte lm)
|
void |
setSize(byte d)
set the diameter of an node to "diam" |
void |
simplyKill()
Sets into motion a chain of events that will result in the destruction of
this node, and - all the other objects it is attached to... |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEAD
public static final int DEAD
EYE
public static final int EYE
FOLLOW
public static final int FOLLOW
DRAG
public static final int DRAG
FEAR
public static final int FEAR
ALWAYS_CIRCULAR
public static final int ALWAYS_CIRCULAR
ALWAYS_HOLLOW
public static final int ALWAYS_HOLLOW
IMMUNE
public static final int IMMUNE
IMMORTAL
public static final int IMMORTAL
INFECTIOUS
public static final int INFECTIOUS
DEADLY
public static final int DEADLY
SPREADING_DEATH
public static final int SPREADING_DEATH
SELECTED
public static final int SELECTED
FROZEN
public static final int FROZEN
HAS_INNER_WORLD
public static final int HAS_INNER_WORLD
ACTIVE_FEET
public static final int ACTIVE_FEET
DEATH_MASK
public static final int DEATH_MASK
INITIAL_DEATH_STAGE
public static final int INITIAL_DEATH_STAGE
EGG_HATCH_STAGE
public static final int EGG_HATCH_STAGE
NO_LONGER_LATENT
public static final int NO_LONGER_LATENT
BREAK_LINKS_NOW
public static final int BREAK_LINKS_NOW
isSelected
public boolean isSelected()
- true iff this node is currently selected...
hasActiveFeet
public boolean hasActiveFeet()
- true iff this node has "feet" that can be placed down...
footIsDragging
public boolean footIsDragging()
- true iff this node has it's "foot" placed down on the floor...
setMass
public void setMass(byte lm)
setSize
public void setSize(byte d)
- set the diameter of an node to "diam"
setInitialSize
public void setInitialSize(byte i,
byte d)
- set the diameter of an node to "diam"
simplyKill
public void simplyKill()
- Sets into motion a chain of events that will result in the destruction of
this node, and - all the other objects it is attached to...
main
public static void main(java.lang.String[] args)