|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.pathfollowing.JumpBoundaries
public class JumpBoundaries
Contains precomputed information about coming jump. If it is even jumpable, minimal and maximal take off point, landing target and navigation target of current link.
Constructor Summary | |
---|---|
JumpBoundaries(NavPointNeighbourLink link)
Constructor for not jumpable link. |
|
JumpBoundaries(NavPointNeighbourLink link,
Location takeOffMin,
Location takeOffMax,
Location takeoffEdgeDirection,
Location target,
Location targetEdgeDirection,
Location navigTarget)
Constructor for jumpable link. |
Method Summary | |
---|---|
Location |
getLandingTarget()
Get landing target. |
NavPointNeighbourLink |
getLink()
Get link this boundaries are for. |
Location |
getNavigTarget()
Get target of current link. |
Location |
getTakeoffEdgeDirection()
Get direction of the mesh edge the take off point lies on. |
Location |
getTakeOffMax()
Get latest take off point. |
Location |
getTakeOffMin()
Get earliest take off point. |
Location |
getTargetEdgeDirection()
Get direction of the mesh edge the landing target lies on. |
boolean |
isJumpable()
If is jumpable. |
boolean |
isJumpUp()
If the jump is up and not fall. |
void |
setJumpable(boolean jumpable)
Set jumpable. |
void |
setLandingTarget(Location landingTarget)
Set landing target. |
void |
setLink(NavPointNeighbourLink link)
Get link this boundaries are for. |
void |
setTakeOffMax(Location takeOffMax)
Set latest take off point. |
void |
setTakeOffMin(Location takeOffMin)
Set earliest take off point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JumpBoundaries(NavPointNeighbourLink link, Location takeOffMin, Location takeOffMax, Location takeoffEdgeDirection, Location target, Location targetEdgeDirection, Location navigTarget)
link
- takeOffMin
- takeOffMax
- takeoffEdgeDirection
- target
- targetEdgeDirection
- navigTarget
- public JumpBoundaries(NavPointNeighbourLink link)
link
- Method Detail |
---|
public NavPointNeighbourLink getLink()
public void setLink(NavPointNeighbourLink link)
link
- public boolean isJumpable()
public void setJumpable(boolean jumpable)
jumpable
- public Location getTakeOffMin()
public void setTakeOffMin(Location takeOffMin)
takeOffMin
- public Location getTakeOffMax()
public void setTakeOffMax(Location takeOffMax)
takeOffMax
- public Location getLandingTarget()
public void setLandingTarget(Location landingTarget)
landingTarget
- public boolean isJumpUp()
public Location getTargetEdgeDirection()
public Location getTakeoffEdgeDirection()
public Location getNavigTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |