Beispiel #1
0
        /// <summary>
        /// 移除精灵
        /// </summary>
        /// <param name="depth">层号</param>
        /// <param name="delete">是否完全移除</param>
        public EffectPiece RemoveSprite(int depth, bool delete = true)
        {
            Queue <NewImageEffect> effects = new Queue <NewImageEffect>();

            effects.Enqueue(NewEffectBuilder.Remove(depth, delete));
            return(new EffectPiece(id++, effects));
        }