AlphaFramework API  1.0.3
Public Member Functions | Properties | List of all members
AlphaFramework.World.Paths.StoredPath< TCoordinates > Class Template Reference

Stores a path calculated by UniverseBase<TCoordinates>.Pathfinder. More...

Inheritance diagram for AlphaFramework.World.Paths.StoredPath< TCoordinates >:

Public Member Functions

override string ToString ()
 
StoredPath< TCoordinates > Clone ()
 Creates a shallow copy of this StoredPath<TCoordinates> More...
 

Properties

TCoordinates Target [get, set]
 The final target of the pathfinding. More...
 
Queue< TCoordinates > PathNodes = new Queue<TCoordinates>() [get]
 The path to walk. More...
 

Detailed Description

Stores a path calculated by UniverseBase<TCoordinates>.Pathfinder.

Template Parameters
TCoordinatesData type for storing position coordinates of objects in the game world.
See also
EntityBase<TCoordinates,TTemplate>.CurrentPath
Type Constraints
TCoordinates :struct 

Member Function Documentation

◆ Clone()

StoredPath<TCoordinates> AlphaFramework.World.Paths.StoredPath< TCoordinates >.Clone ( )
inline

Creates a shallow copy of this StoredPath<TCoordinates>

Returns
The cloned StoredPath<TCoordinates>.

Property Documentation

◆ PathNodes

Queue<TCoordinates> AlphaFramework.World.Paths.StoredPath< TCoordinates >.PathNodes = new Queue<TCoordinates>()
get

The path to walk.

◆ Target

TCoordinates AlphaFramework.World.Paths.StoredPath< TCoordinates >.Target
getset

The final target of the pathfinding.


The documentation for this class was generated from the following file: