private AddTextureRegion ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
region | ||
return | void |
private void AddTextureRegion(Texture2D texture, Rectangle? region)
{
_regions.Add(new TextureRegion
{
Texture = texture,
Rectangle = region
});
}
}