Class Path

java.lang.Object
zombie.ai.astar.Path

public class Path
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Path.Step  
  • Field Summary

    Fields
    Modifier and Type Field Description
    float cost  
    static java.util.Stack stepstore  
  • Constructor Summary

    Constructors
    Constructor Description
    Path()  
  • Method Summary

    Modifier and Type Method Description
    void appendStep​(int int1, int int2, int int3)  
    boolean contains​(int int1, int int2, int int3)  
    float costPerStep()  
    static Path.Step createStep()  
    int getLength()  
    Path.Step getStep​(int int1)  
    int getX​(int int1)  
    int getY​(int int1)  
    int getZ​(int int1)  
    void prependStep​(int int1, int int2, int int3)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cost

      public float cost
    • stepstore

      public static java.util.Stack stepstore
  • Constructor Details

    • Path

      public Path()
  • Method Details

    • costPerStep

      public float costPerStep()
    • appendStep

      public void appendStep​(int int1, int int2, int int3)
    • contains

      public boolean contains​(int int1, int int2, int int3)
    • getLength

      public int getLength()
    • getStep

      public Path.Step getStep​(int int1)
    • getX

      public int getX​(int int1)
    • getY

      public int getY​(int int1)
    • getZ

      public int getZ​(int int1)
    • createStep

      public static Path.Step createStep()
    • prependStep

      public void prependStep​(int int1, int int2, int int3)