45 lines
586 B
C#
45 lines
586 B
C#
using StgSharp_Logic;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StgSharp_Geometry
|
|
{
|
|
internal class Point:LinkedTarget
|
|
{
|
|
private float _x;
|
|
|
|
public float X
|
|
{
|
|
get { return _x; }
|
|
set { _x = value; }
|
|
}
|
|
|
|
private float _y;
|
|
|
|
public float Y
|
|
{
|
|
get { return _y; }
|
|
set { _y = value; }
|
|
}
|
|
|
|
public new LinkedTarget Next
|
|
{
|
|
get { return this.Next; }
|
|
set
|
|
{
|
|
if (value is Point)
|
|
{
|
|
this.Next = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual void OnRender()
|
|
{ }
|
|
}
|
|
|
|
}
|