Example usage for com.badlogic.gdx.ai.pfa DefaultConnection subclass-usage

List of usage examples for com.badlogic.gdx.ai.pfa DefaultConnection subclass-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.ai.pfa DefaultConnection subclass-usage.

Usage

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

/** A connection for a {@link FlatTiledGraph}.
 * 
 * @author davebaol */
public class FlatTiledConnection extends DefaultConnection<FlatTiledNode> {

    static final float NON_DIAGONAL_COST = (float) Math.sqrt(2);

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

/** A connection for a {@link HierarchicalTiledGraph}.
 * 
 * @author davebaol */
public class HierarchicalTiledConnection extends DefaultConnection<HierarchicalTiledNode> {

    static final float NON_DIAGONAL_COST = (float) Math.sqrt(2);

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

/**
 * Or map connection. Gives water & lava a cost. I think it is shared amongst
 * the creatures
 *
 * @author Toni Helenius <helenius.toni@gmail.com>
 */