using UnityEngine;
using System.Collections.Generic;
namespace GraphProcessor
{
///
/// Data container for the StackNode views
///
[System.Serializable]
public class BaseStackNode
{
public Vector2 position;
public string title = "New Stack";
///
/// Is the stack accept drag and dropped nodes
///
public bool acceptDrop;
///
/// Is the stack accepting node created by pressing space over the stack node
///
public bool acceptNewNode;
///
/// List of node GUID that are in the stack
///
///
///
public List< string > nodeGUIDs = new List< string >();
public BaseStackNode(Vector2 position, string title = "Stack", bool acceptDrop = true, bool acceptNewNode = true)
{
this.position = position;
this.title = title;
this.acceptDrop = acceptDrop;
this.acceptNewNode = acceptNewNode;
}
}
}