// // Costume.cs - represents a 3D costume model for a Character in a Concertroid Performance // // Author: // Michael Becker // // Copyright (c) 2011-2020 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . using System; namespace UniversalEditor.ObjectModels.Concertroid { /// /// Indicates whether the 3D model associated with the is rendered in addition to, or in place of, the 3D base model /// associated with the . /// public enum CostumeBehavior { Overlay = 0, Replace = 1 } /// /// Represents a 3D costume model for a in a Concertroid . /// public class Costume : ICloneable { public class CostumeCollection : System.Collections.ObjectModel.Collection { } /// /// Gets or sets a value indicating whether the 3D model associated with the is rendered in addition to, or in place of, /// the 3D base model associated with the . /// /// /// Indicates whether the 3D model associated with the is rendered in addition to, or in place of, the 3D base model /// associated with the . /// public CostumeBehavior Behavior { get; set; } = CostumeBehavior.Replace; /// /// Gets or sets the title of this . /// /// The title of this . public string Title { get; set; } = String.Empty; /// /// Gets or sets the full path to the 3D model file associated with this . /// /// The full path to the 3D model file associated with this . public string ModelFileName { get; set; } = String.Empty; public object Clone() { Costume clone = new Costume(); clone.Title = (Title.Clone() as string); clone.ModelFileName = (ModelFileName.Clone() as string); clone.Behavior = Behavior; return clone; } } }