////////////////

        public override void OnSpawn(Gore gore)
        {
            gore.scale        = ShellCasing.GetScale();
            gore.drawOffset.X = 0f;
            gore.drawOffset.Y = 8f;
            gore.rotation     = Main.rand.NextFloat() * (float)Math.PI * 2f;
            gore.velocity     = ShellCasing.GetVelocity();
            gore.numFrames    = ShellCasing.MaxFrames;
            gore.frame        = ShellCasing.GetFrame();
            gore.frameCounter = 6;
            this.updateType   = 3;
        }
        public override bool Update(Gore gore)
        {
            bool lockFrames = false;

            if (gore.velocity.Y == 0)
            {
                if (!this.UpdateGround(gore, out lockFrames))
                {
                    gore.active = false;
                    return(false);
                }
            }

            if (!lockFrames)
            {
                if (gore.frameCounter-- <= 0)
                {
                    gore.frameCounter = 6;
                    gore.frame        = ShellCasing.GetFrame();
                }
            }

            return(true);
        }