示例#1
0
        /*******************CONSTRUCTORS*********************/
        public Weapon()
        {
            itsName = " ";
            itsUsers = new characterList();
            itsTargets = new characterList();
            itsActions = new List<WeaponAction>();
            itsChoosableActions = new WeaponAction[Globals.ACTION_LIMIT];
            itsSubActions = new int[Globals.ACTION_LIMIT, Globals.ACTION_LIMIT];
            itsModifiedSkills = new propertyList();
            itsSkillModifiers = new Coefficient[Globals.SKILL_LIMIT];

            initializeLists();
        }
示例#2
0
 private void initializeLists()
 {
     itsStats = new propertyList();
     itsSkills = new propertyList();
     itsAttributes = new propertyList();
     itsTargets = new characterList();
     itsWeapons = new Weapon[Globals.WEAPON_LIMIT];
     for (int i = 0; i < Globals.WEAPON_LIMIT; i++)
         itsWeapons[i] = new Weapon();
 }
示例#3
0
 public Character(string name)
 {
     Name = name;
     initializeLists();
     itsTargets = new characterList();
 }