Add initial classes for spectator support

This commit is contained in:
Dean Herbert
2020-10-21 19:05:20 +09:00
parent da573c7487
commit b39a4da6bc
7 changed files with 139 additions and 1 deletions

View File

@ -1,6 +1,7 @@
// 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.
using MessagePack;
using osu.Game.Rulesets.Replays;
using osuTK;
@ -8,6 +9,7 @@ namespace osu.Game.Replays.Legacy
{
public class LegacyReplayFrame : ReplayFrame
{
[IgnoreMember]
public Vector2 Position => new Vector2(MouseX ?? 0, MouseY ?? 0);
public float? MouseX;