C# Class LogicSpawn.GTARPG.Core.AbilityTrees.NTree

Show file Open project: logicspawn/GTARPG Class Usage Examples

Public Properties

Property Type Description
Node Node
NodeCenter System.Drawing.Size
TreeRef string
Type TreeType
children List

Public Methods

Method Description
AddChild ( Node dataa ) : NTree
Draw ( NTree node, Node parent, TreeDraw visitor ) : void
GetChild ( int i ) : NTree
NTree ( Node node ) : System
NTree ( Node node, TreeType type, Point startingPosition ) : System
NTree ( string treeRef, Node node, TreeType type, Point startingPosition ) : System

Method Details

AddChild() public method

public AddChild ( Node dataa ) : NTree
dataa Node
return NTree

Draw() public method

public Draw ( NTree node, Node parent, TreeDraw visitor ) : void
node NTree
parent Node
visitor TreeDraw
return void

GetChild() public method

public GetChild ( int i ) : NTree
i int
return NTree

NTree() public method

public NTree ( Node node ) : System
node Node
return System

NTree() public method

public NTree ( Node node, TreeType type, Point startingPosition ) : System
node Node
type TreeType
startingPosition Point
return System

NTree() public method

public NTree ( string treeRef, Node node, TreeType type, Point startingPosition ) : System
treeRef string
node Node
type TreeType
startingPosition Point
return System

Property Details

Node public property

public Node Node
return Node

NodeCenter public static property

public static Size,System.Drawing NodeCenter
return System.Drawing.Size

TreeRef public property

public string TreeRef
return string

Type public property

public TreeType Type
return TreeType

children public property

public List children
return List