|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface toward a dispatcher of stats.
Method Summary | |
double |
getDeformStat(SimObject so,
Genomable g)
Get the deform stat according to the id and the Genomable object |
int |
getHeight(SimObject so,
Genomable g)
Return the height of the SimObject |
int |
getHeight(java.lang.String className,
Genomable g)
Return the height of the SimObject |
double |
getMaxSteepNessRatio(SimObject pu,
Filler fil,
Genomable g)
Return the maximum steepnessRatio the PathUser can walk on the filler given in argument |
double |
getMaxSteepNessRatio(SimObject pu,
Genomable g)
Return the maximum steepnessRatio the SimObject can walk on |
double |
getMoveStat(PathUser pu,
Filler fil,
double steepnessRatio)
Return the MoveStat for a PathUser and a Filler. |
int |
getWidth(SimObject so,
Genomable g)
Return the width of the SimObject |
int |
getWidth(java.lang.String className,
Genomable g)
Return the width of the SimObject given by the name |
Method Detail |
public double getMoveStat(PathUser pu, Filler fil, double steepnessRatio)
pu
- PathUserfil
- A fillersteepnessRatio
- -1 <= steepnessRatio <= 1public double getMaxSteepNessRatio(SimObject pu, Genomable g)
pu
- A SimObjectg
- A Genomablepublic double getMaxSteepNessRatio(SimObject pu, Filler fil, Genomable g)
fil
- a Fillerpu
- A SimObjectg
- A Genomablepublic int getWidth(SimObject so, Genomable g)
so
- A SimObjectg
- A Genomable
public int getHeight(SimObject so, Genomable g)
so
- A SimObjectg
- A Genomable object
public int getWidth(java.lang.String className, Genomable g)
g
- A Genomable
public int getHeight(java.lang.String className, Genomable g)
g
- A Genomable object
public double getDeformStat(SimObject so, Genomable g)
g
- A Genomable
Object
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |