mirror of
https://github.com/ppy/osu
synced 2024-12-27 01:12:45 +00:00
66ef199fa4
Causes several knock-on inspections in `OsuGame` et al. Probably best addressed in a separate pass, because treatment is mixed at best (some places nullcheck, some expect non-null).
26 lines
616 B
C#
26 lines
616 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Game.Replays;
|
|
using osu.Game.Utils;
|
|
|
|
namespace osu.Game.Scoring
|
|
{
|
|
public class Score : IDeepCloneable<Score>
|
|
{
|
|
public ScoreInfo ScoreInfo = new ScoreInfo();
|
|
public Replay Replay = new Replay();
|
|
|
|
public Score DeepClone()
|
|
{
|
|
return new Score
|
|
{
|
|
ScoreInfo = ScoreInfo.DeepClone(),
|
|
Replay = Replay.DeepClone(),
|
|
};
|
|
}
|
|
}
|
|
}
|