|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.ut2004.agent.module.sensor.NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER>
public class NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER>
Represents the edge of the navpoint you're newly creating.
WARNING: the created edge is oriented! Its counterpart (from the remote navpoint to newly created one) must be created manually! (If needed.)
| Field Summary | |
|---|---|
protected int |
collisionH
|
protected int |
collisionR
|
protected int |
flags
|
protected boolean |
forceDoubleJump
|
protected javax.vecmath.Vector3d |
neededJump
|
protected OWNER |
owner
|
protected UnrealId |
toNavPointId
|
| Constructor Summary | |
|---|---|
protected |
NavigationGraphBuilder.NewNavPointEdgeBuilder(OWNER owner)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected OWNER owner
protected UnrealId toNavPointId
protected int collisionR
protected int collisionH
protected boolean forceDoubleJump
protected javax.vecmath.Vector3d neededJump
protected int flags
| Constructor Detail |
|---|
protected NavigationGraphBuilder.NewNavPointEdgeBuilder(OWNER owner)
| Method Detail |
|---|
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setTo(String navPointId)
NavPointNeighbourLink.getToNavPoint().
navPointId - will be auto-prefixed (if enabled, which is default)
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setTo(UnrealId navPointId)
NavPointNeighbourLink.getToNavPoint().
navPointId - WON'T BE AUTO-PREFIXED AS IT IS ALREADY EXISTING ID!!!
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setCollisionRadius(int collisionRadius)
NavPointNeighbourLink.getCollisionR().
collisionRadius -
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setCollisionHeight(int collisionHeight)
NavPointNeighbourLink.getCollisionH().
collisionHeight -
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setNeededJump(double x,
double y,
double z)
NavPointNeighbourLink.getNeededJump().
x - y - z -
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setDoubleJump()
NavPointNeighbourLink.isForceDoubleJump().
neededJump -
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setWalkFlag()
LinkFlag.WALK flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setFlyFlag()
LinkFlag.FLY flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setSwimFlag()
LinkFlag.SWIM flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setJumpFlag()
LinkFlag.JUMP flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setDoorFlag()
LinkFlag.DOOR flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setSpecialFlag()
LinkFlag.SPECIAL flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setLadderFlag()
LinkFlag.LADDER flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setProscribedFlag()
LinkFlag.PROSCRIBED flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setForcedFlag()
LinkFlag.FORCED flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setPlayerOnlyFlag()
LinkFlag#PLAYERONLYK flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().
public OWNER createEdge()
Edge remote end must be set via setTo(String) before otherwise an exception is thrown.
WARNING: the created edge is oriented! Its counterpart (from the remote navpoint to newly created one) must be created manually! (If needed.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||