SadConsole.Cell.UpdateAndApplyEffect C# (CSharp) Method

UpdateAndApplyEffect() public method

Updates and applies the P:SadConsole.Cell.Effect to this cell. WARNING: Do not use with TextSurface. This should only be called when the cell has a standalone effect that isn't managed by the TextSurface.
public UpdateAndApplyEffect ( double elapsedTime ) : void
elapsedTime double
return void
        public void UpdateAndApplyEffect(double elapsedTime)
        {
            if (Effect != null)
            {
                Effect.Update(elapsedTime);
                Effect.Apply(this);
            }
        }