Daily update on 20230413 by nitload youmu
This commit is contained in:
@@ -11,17 +11,8 @@ namespace StgSharp.Geometries
|
||||
{
|
||||
public class Point: INode<Point>
|
||||
{
|
||||
internal StgSharp.ContainerNode<Point> _id;
|
||||
|
||||
internal vec2d _position;
|
||||
|
||||
internal GetLocationHandler getXHandler;
|
||||
internal GetLocationHandler getYHandler;
|
||||
|
||||
ContainerNode<Point> INode<Point>.ID
|
||||
{
|
||||
get { return this._id; }
|
||||
}
|
||||
internal vec3d _position;
|
||||
|
||||
public float X
|
||||
{
|
||||
@@ -33,21 +24,7 @@ namespace StgSharp.Geometries
|
||||
get { return this._position.Y; }
|
||||
}
|
||||
|
||||
void INode<Point>.setID(ContainerNode<Point> id)
|
||||
{
|
||||
if (id == null)
|
||||
{
|
||||
_id = id;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ArgumentException("Cannot set id twice!");
|
||||
}
|
||||
}
|
||||
public void Update() => new NotImplementedException();
|
||||
|
||||
public void OnRender()
|
||||
{
|
||||
this.getXHandler.Invoke(this._position, Control.GameTimeLine.tickCounter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user