46 lines
890 B
C#
46 lines
890 B
C#
using StgSharp.Logic;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp.Geometries
|
|
{
|
|
public class Square:IGeometry
|
|
{
|
|
private Logic.LinkedListNode<INode> _id;
|
|
internal Point _referrencePoint;
|
|
public float _vecX;
|
|
public float _vecY;
|
|
|
|
public Logic.LinkedListNode<INode> ID
|
|
{
|
|
get { return _id; }
|
|
}
|
|
|
|
public Point ReferencePoint
|
|
{
|
|
get { return _referrencePoint; }
|
|
}
|
|
|
|
public float vecX
|
|
{
|
|
get { return _vecX; }
|
|
}
|
|
|
|
public float vecY
|
|
{
|
|
get { return _vecY; }
|
|
}
|
|
|
|
public float SetArrayX(Counter<uint> tickCounter)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
public float SetArrayY(Counter<uint> tickCounter)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
}
|
|
}
|