cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh
Class NavMeshModule

Package class diagram package NavMeshModule
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.NavMeshModule

public class NavMeshModule
extends Object

Main class of Navigation Mesh module

Author:
Jakub Tomek, Jakub Gemrot aka Jimmy

Constructor Summary
NavMeshModule(IUT2004ServerProvider serverProvider, IWorldView worldView, IAgentLogger logger)
           
 
Method Summary
 NavMesh getNavMesh()
          Always non-null, always returns NavMesh.
 NavMeshDraw getNavMeshDraw()
           
 boolean isInitialized()
          Tells whether NavMesh has been initialized and getNavMesh() is usable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavMeshModule

public NavMeshModule(IUT2004ServerProvider serverProvider,
                     IWorldView worldView,
                     IAgentLogger logger)
Method Detail

isInitialized

public boolean isInitialized()
Tells whether NavMesh has been initialized and getNavMesh() is usable.

Returns:

getNavMesh

public NavMesh getNavMesh()
Always non-null, always returns NavMesh. However, you should check isInitialized() whether the NavMesh is usable.

Returns:

getNavMeshDraw

public NavMeshDraw getNavMeshDraw()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.