Artemis.Profiles.Layers.Animations.SlideUpAnimation.MustExpire C# (CSharp) Method

MustExpire() public method

public MustExpire ( LayerModel layer ) : bool
layer LayerModel
return bool
        public bool MustExpire(LayerModel layer)
        {
            return layer.Properties.AnimationProgress + layer.Properties.AnimationSpeed*2 >= layer.Properties.Height*4;
        }
    }