Esempio n. 1
0
 /// <summary>
 /// Creates a new <see cref="ShapeState"/> instance.
 /// </summary>
 /// <param name="flags">The state flags.</param>
 /// <returns>The new instance of the <see cref="ShapeState"/> class.</returns>
 public static ShapeState Create(ShapeStateFlags flags = ShapeStateFlags.Default)
 {
     return(new ShapeState()
     {
         Flags = flags
     });
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new <see cref="ShapeState"/> instance.
 /// </summary>
 /// <param name="flags">The state flags.</param>
 /// <returns>The new instance of the <see cref="ShapeState"/> class.</returns>
 public static ShapeState Create(ShapeStateFlags flags = ShapeStateFlags.Default)
 {
     return new ShapeState()
     {
         Flags = flags
     };
 }