/**<summary>Constructs the base object data.</summary>*/ public ObjectData(ObjectDataHeader objectHeader, ChunkHeader chunkHeader) { this.objectHeader = objectHeader; this.chunkHeader = chunkHeader; stringTable = new StringTable(); groupInfo = new GroupInfo(); imageDirectory = new ImageDirectory(); graphicsData = new GraphicsData(this.imageDirectory); }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the base object data.</summary>*/ public ObjectData() { objectHeader = new ObjectDataHeader(); chunkHeader = new ChunkHeader(); stringTable = new StringTable(); groupInfo = new GroupInfo(); imageDirectory = new ImageDirectory(); graphicsData = new GraphicsData(this.imageDirectory); }
/**<summary>Constructs the default graphics data with the specified image directory.</summary>*/ public GraphicsData(ImageDirectory imageDirectory) { this.imageDirectory = imageDirectory; paletteImages = new List <PaletteImage>(); palettes = new List <Palette>(); numImages = 0; numPalettes = 0; }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the default graphics data.</summary>*/ public GraphicsData() { imageDirectory = new ImageDirectory(); paletteImages = new List <PaletteImage>(); palettes = new List <Palette>(); numImages = 0; numPalettes = 0; }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the base object data.</summary>*/ internal ObjectData() { this.objectHeader = new ObjectDataHeader(); this.chunkHeader = new ChunkHeader(); this.stringTable = new StringTable(); this.groupInfo = new GroupInfo(); this.imageDirectory = new ImageDirectory(); this.graphicsData = new GraphicsData(this.imageDirectory); }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the default graphics data.</summary>*/ public GraphicsData() { this.imageDirectory = new ImageDirectory(); this.paletteImages = new List <PaletteImage>(); this.palettes = new List <Palette>(); this.numImages = 0; this.numPalettes = 0; }