2019-01-24 16:43:03 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-11-28 17:45:17 +08:00
|
|
|
|
|
|
|
using osu.Game.Replays;
|
2021-07-19 12:02:40 +08:00
|
|
|
using osu.Game.Utils;
|
2018-11-28 17:45:17 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Scoring
|
|
|
|
{
|
2021-07-19 12:02:40 +08:00
|
|
|
public class Score : IDeepCloneable<Score>
|
2018-11-28 17:45:17 +08:00
|
|
|
{
|
|
|
|
public ScoreInfo ScoreInfo = new ScoreInfo();
|
|
|
|
public Replay Replay = new Replay();
|
2021-07-19 12:02:40 +08:00
|
|
|
|
|
|
|
public Score DeepClone()
|
|
|
|
{
|
|
|
|
return new Score
|
|
|
|
{
|
|
|
|
ScoreInfo = ScoreInfo.DeepClone(),
|
|
|
|
Replay = Replay.DeepClone(),
|
|
|
|
};
|
|
|
|
}
|
2018-11-28 17:45:17 +08:00
|
|
|
}
|
|
|
|
}
|