Example #1
0
 public static Vector2 ToVector2(this HiveContracts.Point point)
 {
     return(new Vector2((float)point.X, (float)point.Y));
 }
Example #2
0
 public void ChangeScreenSize(HiveContracts.Point ScreenSize)
 {
     Location = new Rectangle((int)ScreenSize.X - _textBoxWidth, (int)ScreenSize.Y - _textBoxHeight, _textBoxWidth - 5, _textBoxHeight - 5);
 }