Category5.VictimBoss.Clone C# (CSharp) Метод

Clone() защищенный Метод

protected Clone ( ) : Victim
Результат Victim
        protected override Victim Clone()
        {
            VictimBoss copyObject = new VictimBoss(this.megatile, this.GroundAnimation, this.StumpAnimation, this.ExplodeAnimation, this.TornadoAnimation, soundHit, pos);
            copyObject.GroundHealth = this.GroundHealth;
            copyObject.TornadoHealth = this.TornadoHealth;
            copyObject.Mass = this.Mass;
            copyObject.state = this.state;
            copyObject.tornado = this.tornado;

            copyObject.RemoveFromMegatTileOnDeath = this.removeFromMegaTileOnDeath;

            return copyObject;
        }