2014-12-22 00:34:09 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2017-12-23 23:22:30 +00:00
|
|
|
|
namespace SCJMapper_V2.Actions
|
2014-12-22 00:34:09 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2018-01-03 23:05:35 +00:00
|
|
|
|
/// Our INPUT TreeNode - inherits from ActionTreeNode - serves as a distinct type in the ActionTree for Inputs
|
2014-12-22 00:34:09 +00:00
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2015-01-04 00:56:04 +00:00
|
|
|
|
class ActionTreeInputNode : ActionTreeNode
|
2014-12-22 00:34:09 +00:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
// Object defs
|
|
|
|
|
|
2018-01-02 00:45:49 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// cTor: empty
|
|
|
|
|
/// </summary>
|
2014-12-22 00:34:09 +00:00
|
|
|
|
public ActionTreeInputNode( )
|
|
|
|
|
: base( )
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-02 00:45:49 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// cTor: just create a node without added functionality
|
|
|
|
|
/// NOTE: must fill properties to work
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="text">The Text element of the Node</param>
|
2014-12-22 00:34:09 +00:00
|
|
|
|
public ActionTreeInputNode( string text )
|
2015-01-04 00:56:04 +00:00
|
|
|
|
: base ( text )
|
2014-12-22 00:34:09 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-02 00:45:49 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// cTor: just create a node without added functionality
|
|
|
|
|
/// NOTE: must fill properties to work
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="text">The Text element of the Node</param>
|
|
|
|
|
/// <param name="children">The child list</param>
|
2014-12-22 00:34:09 +00:00
|
|
|
|
public ActionTreeInputNode( string text, ActionTreeInputNode[] children )
|
|
|
|
|
: base( text, children )
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-26 12:53:55 +00:00
|
|
|
|
/// <summary>
|
2018-01-02 00:45:49 +00:00
|
|
|
|
/// cTor: Copy src to this new node
|
2017-12-26 12:53:55 +00:00
|
|
|
|
/// </summary>
|
2018-01-02 00:45:49 +00:00
|
|
|
|
/// <param name="srcNode">Src node to copy from</param>
|
|
|
|
|
public ActionTreeInputNode( ActionTreeInputNode srcNode )
|
|
|
|
|
: base( srcNode )
|
2014-12-22 00:34:09 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|