|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversum.bi.PointInfo
public final class PointInfo
Information on particular point of the universe. Unlike Location keeps dynamical information about the world.
Constructor Summary | |
---|---|
PointInfo(universum.engine.Universe u,
Location loc)
Engine only constructor. |
Method Summary | |
---|---|
void |
addEntity(java.lang.Integer id)
Engine-only API. |
float |
getCount(Being me)
Amount of energy at this point. |
java.lang.Integer[] |
getEntities(Entity me,
java.lang.Integer[] data)
Returns ids of all entities at given point. |
float |
getGrowthRate(Being me)
How fast energy increases here. |
Location |
getLocation()
Topological location of this point. |
float |
getMaxCount(Being me)
The maximum amount of energy at the point. |
void |
removeEntity(java.lang.Integer id)
Engine-only API. |
float |
totalMass(Being me)
Total mass of beings at the point. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PointInfo(universum.engine.Universe u, Location loc)
Method Detail |
---|
public Location getLocation()
public float getCount(Being me)
public float getGrowthRate(Being me)
public float getMaxCount(Being me)
public java.lang.Integer[] getEntities(Entity me, java.lang.Integer[] data)
public void addEntity(java.lang.Integer id)
public void removeEntity(java.lang.Integer id)
public float totalMass(Being me)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |