43 lines
777 B
C#
43 lines
777 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.ContainerNode<Point> _id;
|
|
|
|
internal float _x;
|
|
internal float _y;
|
|
|
|
public GetLocationHandler getXHandler;
|
|
public GetLocationHandler getYHandler;
|
|
|
|
public float X
|
|
{
|
|
get
|
|
{
|
|
return getXHandler(TimeLine.tickCounter);
|
|
}
|
|
}
|
|
public float Y
|
|
{
|
|
get
|
|
{
|
|
return getYHandler(TimeLine.tickCounter);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|