コード例 #1
0
ファイル: Character.cs プロジェクト: krashtestrich/Game
        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>();
        }
コード例 #2
0
        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()
            };
        }