Пример #1
0
 public void SetPosition(int x, int y)
 {
     rect.SetPosition(x, y);
 }
Пример #2
0
 /// <summary>
 /// Sets the world Position of the sprite
 /// </summary>
 /// <param name="newPosition">New position.</param>
 public void SetPosition(Vector2 newPosition)
 {
     Rect.SetPosition(newPosition);
 }