RAIN.Path.PathGraph.PathGraphChangedEventArgs Class Reference

A path graph changed event used to signal the pathfinding system that a recomputation may be necessary. More...

List of all members.

Public Types

enum  ChangeType { ADD, REMOVE, INCREASE, DECREASE }
 Graph change type indicating the change in an edge. One of add, remove, increase cost, or decrease cost. More...

Public Member Functions

 PathGraphChangedEventArgs (PathEdge edge, ChangeType changetype)
 Constructor.

Properties

PathEdge Edge [get]
 Get Property for the changed edge.
ChangeType Change [get]
 Get Property for the change type.

Detailed Description

A path graph changed event used to signal the pathfinding system that a recomputation may be necessary.


Member Enumeration Documentation

Graph change type indicating the change in an edge. One of add, remove, increase cost, or decrease cost.


Constructor & Destructor Documentation

RAIN.Path.PathGraph.PathGraphChangedEventArgs.PathGraphChangedEventArgs ( PathEdge  edge,
ChangeType  changetype 
)

Constructor.

Parameters:
edgeThe path edge that changed
changetypeThe type of change

Property Documentation

ChangeType RAIN.Path.PathGraph.PathGraphChangedEventArgs.Change [get]

Get Property for the change type.

PathEdge RAIN.Path.PathGraph.PathGraphChangedEventArgs.Edge [get]

Get Property for the changed edge.