Switch-Toolbox/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/Wrappers/PathPointNode.cs

23 lines
538 B
C#
Raw Normal View History

2019-04-07 00:16:41 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Switch_Toolbox.Library;
namespace FirstPlugin.Turbo.CourseMuuntStructs
{
public class PathPointNode : TreeNodeCustom
{
public PathPointNode(string text) { Text = text; Checked = true; }
2019-04-08 01:14:39 +00:00
public BasePathPoint PathPoint;
2019-04-07 00:16:41 +00:00
public void OnChecked(bool Checked)
{
if (PathPoint != null)
2019-04-07 23:37:31 +00:00
PathPoint.RenderablePoint.Visible = Checked;
2019-04-07 00:16:41 +00:00
}
}
}