Category5.VictimUFO.Clone C# (CSharp) Method

Clone() protected method

protected Clone ( ) : Victim
return Victim
        protected override Victim Clone()
        {
            VictimUFO copyObject = new VictimUFO(this.megatile, this.GroundAnimation.Copy(), this.StumpAnimation.Copy(), this.ExplodeAnimation.Copy(), this.TornadoAnimation.Copy(), soundHit, this.level);
            copyObject.GroundHealth = this.GroundHealth;
            copyObject.TornadoHealth = this.TornadoHealth;
            copyObject.Mass = this.Mass;
            copyObject.state = this.state;
            copyObject.tornado = this.tornado;
            copyObject.bounds = this.bounds;
            copyObject.drawAngle = this.drawAngle;

            return copyObject;
        }