Skip to content

T_PurpleKingdomGames_Core_Pathfinding_GridNode2D

David North edited this page Jul 31, 2015 · 2 revisions

GridNode2D Structure

Stores a node on a grid with a location in world space, penalty, and whether it's passable

Namespace: PurpleKingdomGames.Core.Pathfinding
Assembly: PurpleKingdomGamesCore (in PurpleKingdomGamesCore.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public struct GridNode2D

The GridNode2D type exposes the following members.

Constructors

 

Name Description
Public method GridNode2D Create a new grid node
  Back to Top

Methods

 

Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
  Back to Top

Fields

 

Name Description
Public field Position Get the position of this node in world space
  Back to Top

Properties

 

Name Description
Public property Passable Whether or not a path can cross through this node
Public property Penalty The penalty for passing through this node
  Back to Top

See Also

Reference

PurpleKingdomGames.Core.Pathfinding Namespace

Clone this wiki locally