예제 #1
0
파일: Mob.cs 프로젝트: dmbyer/Hedron
 /// <summary>
 /// Creates a new mob of the given level
 /// </summary>
 /// <param name="level">The level multipler of the mob</param>
 private Mob(MobLevel level)
     : base()
 {
     Level       = level;
     LevelEffect = Effect.NewMultiplier(MobLevelModifier.Map(level));
     ModifiedPools.CopyTo(CurrentPools);
 }
예제 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        public EntityAnimate() : base()
        {
            State = EntityState.Active;

            _equipment.EntityAdded   += HandleItemEquipped;
            _equipment.EntityRemoved += HandleItemUnequipped;

            EntityDied += HandleDeath;

            ModifiedPools.CopyTo(CurrentPools);
        }
예제 #3
0
파일: Mob.cs 프로젝트: dmbyer/Hedron
 /// <summary>
 /// Default constructor
 /// </summary>
 public Mob()
     : base()
 {
     LevelEffect = Effect.NewMultiplier(MobLevelModifier.Map(MobLevel.Fair));
     ModifiedPools.CopyTo(CurrentPools);
 }