Exemplo n.º 1
0
        ////////////////

        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;
        }