public skill_stat_group DeepClone() { skill_stat_group my_clone = new skill_stat_group(); my_clone.effect_type = this.effect_type; my_clone.skill_stats = CloneUtil.copyArray <skill_stat>(this.skill_stats); return(my_clone); }
public InitWavelet DeepClone() { InitWavelet my_clone = new InitWavelet(); my_clone.enemies = CloneUtil.copyArray <InitEnemyCount>(enemies); my_clone.interval = this.interval; my_clone.lull = this.lull; my_clone.monster_count = this.monster_count; my_clone.run_time = this.run_time; my_clone.end_wait = this.end_wait; return(my_clone); }
public tower_stats DeepClone() { tower_stats my_clone = new tower_stats(); my_clone.id = this.id; my_clone.name = string.Copy(this.name); my_clone.skill_stats = CloneUtil.copyArray <skill_stat_group>(this.skill_stats); my_clone.hits = this.hits; my_clone.shots_fired = this.shots_fired; my_clone.lava_count = this.lava_count; my_clone.island_name = string.Copy(this.island_name); return(my_clone); }