// ReSharper disable once CheckNamespace
namespace GodotStateCharts
{
using Godot;
using System;
///
/// Wrapper around the state chart debugger node.
///
public class StateChartDebugger : NodeWrapper
{
private StateChartDebugger(Node wrapped) : base(wrapped) {}
///
/// Creates a wrapper object around the given node and verifies that the node
/// is actually a state chart debugger. The wrapper object can then be used to interact
/// with the state chart debugger from C#.
///
/// the node that is the state chart debugger
/// a StateChartDebugger wrapper.
/// ArgumentException if the node is not a state chart debugger.
public static StateChartDebugger Of(Node stateChartDebugger)
{
if (stateChartDebugger.GetScript().As