Esempio n. 1
0
 /// <summary>
 /// Creates a rectangular collision shape. The position marks on the south west corner of the colshape.
 /// </summary>
 /// <param name="position">The bottom left position of the rectangle</param>
 /// <param name="dimensions">The length and width</param>
 public CollisionRectangle(Vector2 position, Vector2 dimensions)
     : this(MtaShared.CreateColRectangle(position.X, position.Y, dimensions.X, dimensions.Y))
 {
 }