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