示例#1
0
        public ChampionState Clone()
        {
            ChampionState state = new ChampionState()
            {
                ChampionId = this.ChampionId,
                Kills = this.Kills,
                Deaths = this.Deaths,
                Assists = this.Assists,
                Items = new List<int>(this.Items)
            };

            return state;
        }
示例#2
0
        public ChampionState Clone()
        {
            ChampionState state = new ChampionState()
            {
                ChampionId = this.ChampionId,
                Kills      = this.Kills,
                Deaths     = this.Deaths,
                Assists    = this.Assists,
                Items      = new List <int>(this.Items)
            };

            return(state);
        }