Exemple #1
0
        public BlueprintBlocks Clone()
        {
            var newBlocks = new BlueprintBlocks();

            foreach (var block in GridMembers)
            {
                newBlocks.Add(block.Clone());
            }

            return(newBlocks);
        }
Exemple #2
0
 public void ClearBlocks()
 {
     Blocks    = new BlueprintBlocks();
     Thumbnail = null;
 }
Exemple #3
0
 public Blueprint(string name, BlueprintTypeGuid shipClass, BlueprintBlocks blocks)
 {
     this.name      = name;
     this.shipClass = shipClass;
     this.Blocks    = blocks;
 }