Exemple #1
0
        public Character()
        {
            characterEquipment = new List<Equipment>();

            slots = new List<Slot>();

            var h1 = new Hand();
            slots.Add(h1);

            var h2 = new Hand();
            slots.Add(h2);

            ChosenActions = new List<IAction>();
        }
        protected Character()
        {
            _modifiers = new List<IModifier<ICharacter>>();
            SetAttributes();
            _characterEquipment = new List<IBuyableEquipment>();
            _skillTree = new SkillTree.SkillTree();

            _slots = new List<Slot>();

            var h1 = new Hand();
            _slots.Add(h1);

            var h2 = new Hand();
            _slots.Add(h2);

            _nativeActions = new List<IAction>
            {
                new Run()
            };
        }