This commit is contained in:
Nitload
2025-08-25 09:50:30 +08:00
parent bd0e31e922
commit 1359ff4ecc
1630 changed files with 738486 additions and 2399 deletions
+7 -13
View File
@@ -28,32 +28,26 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
namespace StgSharp.Model.Step
namespace StgSharp.Modeling.Items
{
public class StepDirection : StepTriple, IExpConvertableFrom<StepDirection>
public class StepDirection : StepTriple
{
private StepDirection( StepModel model ) : base( model ) { }
private StepDirection() { }
public StepDirection( StepModel model, float x, float y, float z )
: base( model, x, y, z ) { }
public StepDirection( string name, float x, float y, float z ) : base( name, x, y, z ) { }
public override StepItemType ItemType => StepItemType.Direction;
protected override int MinimumValueCount => 2;
public void FromInstance( StepDirection entity )
internal static StepDirection CreateFromSyntaxList( ExpNode syntaxList )
{
base.FromInstance( entity );
}
internal static StepDirection FromSyntax( StepModel binder, ExpSyntaxNode syntaxList )
{
return AssignTo( new StepDirection( binder ), syntaxList );
return ( StepDirection )AssignTo( new StepDirection(), syntaxList );
}
}