Example #1
0
        //--------------------------------------------------------------------------------------------------
        // Constructor
        //--------------------------------------------------------------------------------------------------

        #region Constructor

        /// <summary>
        /// Basic constructor.
        /// </summary>
        /// <param name="identifier">Identifier of entity</param>
        /// <param name="skillSet">Skill set of entity</param>
        public EntityWithSkill(int identifier, SkillSet skillSet)
            : base(identifier)
        {
            _skillSet = skillSet;
        } // end of EntityWithSkill
Example #2
0
 public ActiveEntityWithSkill(int identifier, SkillSet skillSet = null)
     : base(identifier, skillSet)
 {
     _currentActivities = new List <Activity>();
 } // end of ActiveEntity