Files
stgsharp/源代码/.Net/StgSharp/Geometries/point.cs
T

47 lines
874 B
C#

using GLFWDotNet;
using StgSharp.Control;
using StgSharp.Logic;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Security.Cryptography;
using System.Text;
namespace StgSharp.Geometries
{
public class Point: INode
{
private Logic.LinkedListNode<INode> _id;
internal float x;
internal float y;
public Logic.LinkedListNode<INode> ID
{
get { return _id; }
}
public float X
{
get
{
return getXHandler(TimeLine.tickCounter);
}
}
public float Y
{
get
{
return getYHandler(TimeLine.tickCounter);
}
}
public GetLocationHandler getXHandler;
public GetLocationHandler getYHandler;
}
}