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