TiledSmoothableGraphPath

open class TiledSmoothableGraphPath<N : TiledNode<N>?> : DefaultGraphPath<N> , SmoothableGraphPath<N, V>

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val nodes: Array<N>

Functions

Link copied to clipboard
open fun add(node: N)
Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun forEach(action: Consumer<out Any>)
Link copied to clipboard
open fun get(index: Int): N
Link copied to clipboard
open fun getCount(): Int
Link copied to clipboard
open fun getNodePosition(index: Int): Vector2
Returns the position of the node at the given index.
Link copied to clipboard
open fun iterator(): Iterator<N>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
open fun reverse()
Link copied to clipboard
Link copied to clipboard
open fun swapNodes(index1: Int, index2: Int)
Link copied to clipboard
open fun truncatePath(newLength: Int)