All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mathiewz.slick.util.pathfinding.PathFindingContext Maven / Gradle / Ivy

Go to download

The main purpose of this libraryis to modernize and maintain the slick2D library.

The newest version!
package com.github.mathiewz.slick.util.pathfinding;

/**
 * The context describing the current path finding state
 *
 * @author kevin
 */
public interface PathFindingContext {
    /**
     * Get the object being moved along the path if any
     *
     * @return The object being moved along the path
     */
    public Mover getMover();

    /**
     * Get the x coordinate of the source location
     *
     * @return The x coordinate of the source location
     */
    public int getSourceX();

    /**
     * Get the y coordinate of the source location
     *
     * @return The y coordinate of the source location
     */
    public int getSourceY();

    /**
     * Get the distance that has been searched to reach this point
     *
     * @return The distance that has been search to reach this point
     */
    public int getSearchDistance();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy