C# Class RL.Node

Show file Open project: jonbro/nightmare_cooperative Class Usage Examples

Public Properties

Property Type Description
distanceCost int
heuristicCost int
parent Node
position Vector2i

Public Methods

Method Description
KeyFromPostion ( Vector2i p ) : System.UInt64
Node ( Vector2i _p ) : System
Node ( int x, int y ) : System

Method Details

KeyFromPostion() public static method

public static KeyFromPostion ( Vector2i p ) : System.UInt64
p Vector2i
return System.UInt64

Node() public method

public Node ( Vector2i _p ) : System
_p Vector2i
return System

Node() public method

public Node ( int x, int y ) : System
x int
y int
return System

Property Details

distanceCost public property

public int distanceCost
return int

heuristicCost public property

public int heuristicCost
return int

parent public property

public Node,RL parent
return Node

position public property

public Vector2i position
return Vector2i