Improved variable naming for ninepatch classes.

This commit is contained in:
2018-12-29 00:29:31 -06:00
parent 3bbbd672be
commit eedc083e03
3 changed files with 80 additions and 80 deletions

View File

@@ -33,7 +33,7 @@ namespace RecrownedAthenaeum.Pipeline
if (regionData.ninePatchData != null)
{
NinePatchData nPatchData = regionData.ninePatchData;
nPatch = new DataTypes.NinePatch(atlasTexture, nPatchData.a, nPatchData.b, nPatchData.c, nPatchData.d);
nPatch = new DataTypes.NinePatch(atlasTexture, nPatchData.left, nPatchData.right, nPatchData.down, nPatchData.down);
}
regions[regionID] = new DataTypes.TextureAtlas.TextureAtlasRegion(regionData.name, regionData.location, nPatch, atlasTexture);