public Set ( float x, float y ) : void | ||
x | float | The x. |
y | float | The y. |
return | void |
public void Set(float x, float y)
{
this.DisplayRectangle.X = (int)Math.Round(x - this.DisplayRectangle.Width / 2f);
this.DisplayRectangle.Y = (int)Math.Round(y - this.DisplayRectangle.Height / 2f);
foreach (Hypercube hypercube in this.hypercubes)
{
hypercube.Set(x, y);
}
}