Spelling mistake in doc

This commit is contained in:
Tim Young 2017-09-25 13:44:54 -05:00
parent 1edb3f7631
commit f2a50b5c49

View File

@ -61,7 +61,7 @@ namespace SpriteLibrary
/// Set the opacity of the sprite. The value should be between 0 and 1. 1 is solid, 0 is transparent. /// Set the opacity of the sprite. The value should be between 0 and 1. 1 is solid, 0 is transparent.
/// Sometimes you want to drag a sprite around the map, or show a sprite that "could be there." Setting /// Sometimes you want to drag a sprite around the map, or show a sprite that "could be there." Setting
/// the sprite opacity is usually how you do that. One warning, however. The opacity value takes effect the /// the sprite opacity is usually how you do that. One warning, however. The opacity value takes effect the
/// next time it is drawn. If the sprite is animating rapidly, it will take effect nearly emmediately. If /// next time it is drawn. If the sprite is animating rapidly, it will take effect nearly immediately. If
/// it is not animating, not moving, or just sitting there, then it may not take effect for quite some time. /// it is not animating, not moving, or just sitting there, then it may not take effect for quite some time.
/// </summary> /// </summary>
public float Opacity { get { return _opacity; } set { if (value <= 1 && value >= 0) _opacity = value; } } public float Opacity { get { return _opacity; } set { if (value <= 1 && value >= 0) _opacity = value; } }