documentation of public functions

This commit is contained in:
Tim Young 2017-09-20 08:02:47 -05:00
parent 764d969c50
commit 03e5724a25

View File

@ -85,6 +85,12 @@ namespace SpriteLibrary
} }
} }
/// <summary>
/// The SnapGrid is the block-size that your sprite will be. For example, I will often have sprites with
/// a snapgrid of 50,50. This means that the sprite can be 50x50, 100x50, or anything with a step-size
/// specified in the snap-grid. It takes a "Size" specified by System.Drawing.Size.
/// </summary>
/// <param name="GridSize">The size of the grid space to snap to when dragging</param>
public void SetSnapGridSize(Size GridSize) public void SetSnapGridSize(Size GridSize)
{ {
if (GridSize.Width <= 0) return; if (GridSize.Width <= 0) return;