mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-11 21:48:34 +00:00
26 lines
560 B
C#
26 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using OSCADSharp.Spatial;
|
|
|
|
namespace OSCADSharp.Scripting
|
|
{
|
|
/// <summary>
|
|
/// A statement with just one nested child node
|
|
/// </summary>
|
|
internal abstract class SingleStatementObject : OSCADObject
|
|
{
|
|
protected OSCADObject obj;
|
|
|
|
public SingleStatementObject(OSCADObject obj)
|
|
{
|
|
this.obj = obj;
|
|
|
|
this.children.Add(obj);
|
|
obj.Parent = this;
|
|
}
|
|
}
|
|
}
|