예제 #1
0
        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();
        }
예제 #2
0
 public abstract void ProcessBlock(IStateOwner pOwner, BlockClearData Target, TimeSpan Elapsed);