public override void ProcessBlock(IStateOwner pOwner, BlockClearData Target, TimeSpan Elapsed) { double useClear = 0; if (Elapsed < ClearTime) { useClear = 1 - ((double)Elapsed.Ticks / (double)ClearTime.Ticks); } Target.Block.BeforeDraw = (tbdp) => { tbdp.FillPercent = (float)useClear; }; //throw new NotImplementedException(); }
public abstract void ProcessBlock(IStateOwner pOwner, BlockClearData Target, TimeSpan Elapsed);