예제 #1
0
 public Witch(string name, int health, Dagger dagger, IronNails ironNails)
 {
     this.Name       = name;
     this.Health     = health;
     this.Dagger     = dagger;
     this.IronNails  = ironNails;
     this.BaseHealth = health;
 }
예제 #2
0
 public void GetDagger(Dagger dagger)
 {
     this.Dagger = dagger;
 }
예제 #3
0
 public string MessageCharacter()
 {
     return($"Hero: {this.Name} \nHealth: {this.Health} \n_Items_{Dagger.Message()}{IronNails.Message()}\n");
 }