daily update on 20230301 by nitload youmu, file struct cahnged and more vec func added
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using StgSharp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
public class Triangle
|
||||
{
|
||||
internal ContainerNode<INode> _id;
|
||||
|
||||
internal Point _referencePoint;
|
||||
|
||||
internal GetLocationHandler _setArrayXHandler;
|
||||
internal GetLocationHandler _setArrayYHandler;
|
||||
|
||||
public Point ReferencePoint
|
||||
{
|
||||
get { return _referencePoint; }
|
||||
}
|
||||
|
||||
public float VecX
|
||||
{
|
||||
get { return _referencePoint.X; }
|
||||
}
|
||||
|
||||
public float VecY
|
||||
{
|
||||
get { return _referencePoint.Y; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public float SetArrayX(Counter<uint> tickCounter)
|
||||
{
|
||||
return _setArrayXHandler.Invoke(tickCounter);
|
||||
}
|
||||
|
||||
public float SetArrayY(Counter<uint> tickCounter)
|
||||
{
|
||||
return _setArrayYHandler.Invoke(tickCounter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user