daily update on 20230120 by nitload youmu, struct of project fixed, math lib created

This commit is contained in:
Nitload
2023-01-20 00:45:19 +08:00
parent e9116ca11b
commit c14b7ae7f8
50 changed files with 202 additions and 159 deletions
+17 -3
View File
@@ -2,13 +2,27 @@
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Logic
namespace StgSharp
{
public class Sensor : INode
{
private ContainerNode<Sensor> _id;
private ContainerNode<INode> _id;
ContainerNode<INode> INode.ID
{
get { return _id; }
}
void INode.setID<T>(ContainerNode<T> id)
{
if (id == null)
{
_id = id as ContainerNode<INode>;
}
else
{
throw new ArgumentNullException("Cannot set id teice!");
}
}
}
}