Example #1
0
 public DullSword(Sword sword)
     : base($"{sword.Name}, тупой", sword)
 {
 }
Example #2
0
 public SharpenedSword(Sword sword)
     : base($"{sword.Name}, заточенный", sword)
 {
 }
Example #3
0
 public LongSword(Sword sword)
     : base($"{sword.Name}, длинный", sword)
 {
 }
Example #4
0
 public ShortSword(Sword sword)
     : base($"{sword.Name}, короткий", sword)
 {
 }
Example #5
0
 public SwordDecorator(string name, Sword sword)
     : base(name)
 {
     this.sword = sword;
 }