|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.holtz.zoe.ZObject
org.holtz.zoe.Joule
public class Joule
A pellet of edible energy in a World
.
Field Summary | |
---|---|
double |
joules
|
Fields inherited from class org.holtz.zoe.ZObject |
---|
id, world |
Constructor Summary | |
---|---|
Joule(World theWorld)
|
Method Summary | |
---|---|
java.awt.Color |
color()
|
void |
getBit(double bite)
|
int |
getNextId()
|
int |
getNumEverCreated()
|
boolean |
isGone()
|
double |
mass()
|
Methods inherited from class org.holtz.zoe.ZObject |
---|
bearing, bearing, brownianMotion, evaluate, getContext, location, move, range, range, repaint, setContext, setXY, x, y |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double joules
Constructor Detail |
---|
public Joule(World theWorld)
Method Detail |
---|
public double mass()
mass
in class ZObject
public java.awt.Color color()
color
in class ZObject
public boolean isGone()
isGone
in class ZObject
public void getBit(double bite)
public int getNextId()
getNextId
in class ZObject
public int getNumEverCreated()
getNumEverCreated
in class ZObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |