Arbor 3: FSM & BT Graph Editor  3.7.8
CommentNode Class Reference

Class that represents a comment More...

Inheritance diagram for CommentNode:
Node

Public Member Functions

 CommentNode (NodeGraph nodeGraph, int nodeID)
 CommentNode constructor More...
 
- Public Member Functions inherited from Node
 Node (NodeGraph nodeGraph, int nodeID)
 Node constructor More...
 
virtual bool IsContainsBehaviour (NodeBehaviour behaviour)
 Check if it contains NodeBehaviour. More...
 
virtual bool IsDeletable ()
 Returns whether or not it can be deleted. More...
 
virtual string GetName ()
 Get node name. More...
 
override string ToString ()
 Convert node to string (for debugging). More...
 

Public Attributes

string comment = string.Empty
 Comment string. More...
 
- Public Attributes inherited from Node
Rect position
 Position on the Arbor Editor. More...
 
bool showComment
 Whether to display comments More...
 
string nodeComment
 Comment More...
 

Properties

int commentID [get]
 Gets the comment identifier. More...
 
- Properties inherited from Node
NodeGraph nodeGraph [get]
 Gets the NodeGraph. More...
 
int nodeID [get]
 Gets the node identifier. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Node
virtual void OnGraphChanged ()
 Called when the NodeGraph to which the Node belongs has changed. More...
 

Detailed Description

Class that represents a comment

Constructor & Destructor Documentation

◆ CommentNode()

CommentNode ( NodeGraph  nodeGraph,
int  nodeID 
)

CommentNode constructor

Parameters
nodeGraphNodeGraph with this node
nodeIDNode ID

Please use the NodeGraph.CreateComment() comment node creating.

Member Data Documentation

◆ comment

string comment = string.Empty

Comment string.

Property Documentation

◆ commentID

int commentID
get

Gets the comment identifier.