コード例 #1
0
ファイル: Mage.cs プロジェクト: jacobgoredema/MagicDestroyers
 public Mage(string name, int level, int healthPoints)
 {
     Name        = name;
     Level       = level;
     HealthPoint = healthPoints;
     Manapoints  = MANA_POINTS;
     Faction     = FACTION;
     BodyArmor   = BODY_ARMOR;
     Weapon      = WEAPON;
 }
コード例 #2
0
 public Mage(string name, int level, int healthPoints)
 {
     this.name          = name;
     this.level         = level;
     this.healthPoints  = healthPoints;
     this.fatigue       = DEFAULT_FATIGUE;
     this.abilityPoints = DEFAULT_ABILITYPOINTS;
     this.faction       = "Spellcasters";
     this.weapon        = new Staff();
     this.bodyArmor     = new ClothRobe();
 }