Remove static using in COLFileReader

This commit is contained in:
miku-666
2022-11-25 16:29:05 +01:00
parent 6909c57b44
commit 37b4ed904e

View File

@@ -1,7 +1,6 @@
using PckStudio.Classes.FileTypes;
using System.IO;
using System.Text;
using static PckStudio.Classes.FileTypes.COLFile;
namespace PckStudio.Classes.IO.COL
{
@@ -25,7 +24,7 @@ namespace PckStudio.Classes.IO.COL
{
string name = ReadString(stream);
uint color = ReadUInt(stream);
colourFile.entries.Add(new ColorEntry(name, color));
colourFile.entries.Add(new COLFile.ColorEntry(name, color));
}
if (has_water_colors > 0)
{
@@ -36,7 +35,7 @@ namespace PckStudio.Classes.IO.COL
uint colorA = ReadUInt(stream);
uint colorB = ReadUInt(stream);
uint colorC = ReadUInt(stream);
colourFile.waterEntries.Add(new ExtendedColorEntry(name, colorA, colorB, colorC));
colourFile.waterEntries.Add(new COLFile.ExtendedColorEntry(name, colorA, colorB, colorC));
}
}
return colourFile;