コード例 #1
0
ファイル: Weapon.cs プロジェクト: whztt07/battleofmages
    // Constructor
    public Weapon(string nName, int nID, bool nAutoTarget)
    {
        name        = nName;
        id          = nID;
        attunements = new List <Attunement>();
        autoTarget  = nAutoTarget;
        runeType    = Skill.RuneType.None;

        this.PostSerialize();
    }
コード例 #2
0
ファイル: Weapon.cs プロジェクト: judah4/battle-of-mages
    // Constructor
    public Weapon(string nName, int nID, bool nAutoTarget)
    {
        name = nName;
        id = nID;
        attunements = new List<Attunement>();
        autoTarget = nAutoTarget;
        runeType = Skill.RuneType.None;

        this.PostSerialize();
    }