コード例 #1
0
ファイル: Potion.cs プロジェクト: Forecaster/KillSomeMonsters
 public Potion(string name, string color, string texture, string bottle, Effect effect)
 {
     this.name = name;
       this.color = color;
       this.texture = texture;
       this.bottle = bottle;
       this.effect = effect;
       this.value = effect.magnitude * 5;
       this.indestructible = true;
 }
コード例 #2
0
ファイル: Potion.cs プロジェクト: Forecaster/KillSomeMonsters
 public Potion(string name, Effect effect)
 {
     this.name = name;
       this.effect = effect;
       this.color = "color";
       this.texture = "texture";
       this.bottle = "bottle";
       this.value = effect.magnitude * 5;
       this.indestructible = true;
 }