daily update on 20230320 by nitload youmu

This commit is contained in:
Nitload
2023-03-20 01:45:49 +08:00
parent 167e33a3dd
commit db2ca36fd7
100 changed files with 1211 additions and 746 deletions
+6 -6
View File
@@ -10,16 +10,16 @@ using System.Text;
namespace StgSharp
{
public class Point: INode
public class Point: INode<Point>
{
internal StgSharp.ContainerNode<INode> _id;
internal StgSharp.ContainerNode<Point> _id;
internal Vec2D _position;
internal vec2d _position;
internal GetLocationHandler getXHandler;
internal GetLocationHandler getYHandler;
ContainerNode<INode> INode.ID
ContainerNode<Point> INode<Point>.ID
{
get { return this._id; }
}
@@ -34,11 +34,11 @@ namespace StgSharp
get { return this._position.Y; }
}
void INode.setID<T>(ContainerNode<T> id)
void INode<Point>.setID<T>(ContainerNode<T> id)
{
if (id == null)
{
_id = id as ContainerNode<INode>;
_id = id as ContainerNode<Point>;
}
else
{