示例#1
0
        public LifeRegenerator(ILiving entity, TimeSpan? duration, TimeSpan tick,
		                       float value)
        {
			Entity = entity;

			HealDuration = duration;
			HealTick = tick;
			HealValue = value;

			TimeSinceLastHeal = TimeSinceStart = TimeSpan.Zero;
        }
示例#2
0
        public LifeRegenerator(ILiving entity, TimeSpan?duration, TimeSpan tick,
                               float value)
        {
            Entity = entity;

            HealDuration = duration;
            HealTick     = tick;
            HealValue    = value;

            TimeSinceLastHeal = TimeSinceStart = TimeSpan.Zero;
        }