Example usage for com.badlogic.gdx.ai.pfa.indexed IndexedGraph interface-usage

List of usage examples for com.badlogic.gdx.ai.pfa.indexed IndexedGraph interface-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.ai.pfa.indexed IndexedGraph interface-usage.

Usage

From source file com.badlogic.gdx.ai.tests.pfa.tests.tiled.TiledGraph.java

/** Graph interface representing a generic tiled map.
 * 
 * @param <N> Type of node, either flat or hierarchical, extending the {@link TiledNode} class
 * 
 * @author davebaol */
public interface TiledGraph<N extends TiledNode<N>> extends IndexedGraph<N> {

From source file com.mygdx.game.pathfinding.NavMeshGraph.java

/**
 * Creates a bidirectional graph over the triangles in the model, which can be used for A* pathfinding.
 * All meshes in the model must be indexed (Mesh.getNumIndices()} > 0). The mesh can be divided into
 * multiple MeshParts (useful for ignoring certain parts of the navmesh or perhaps triggering an event).
 * All MeshParts should share some edge(s) with another in order for the mesh to be fully traversable.
 * <p/>

From source file toniarts.openkeeper.world.creature.pathfinding.MapIndexedGraph.java

/**
 * Map representation for the path finding
 *
 * @author Toni Helenius <helenius.toni@gmail.com>
 */
public class MapIndexedGraph implements IndexedGraph<TileData> {