Exemplo n.º 1
0
        public LifeRegenerator(ILiving entity, TimeSpan? duration, TimeSpan tick,
		                       float value)
        {
			Entity = entity;

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

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

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

            TimeSinceLastHeal = TimeSinceStart = TimeSpan.Zero;
        }