2021-04-07 22:15:09 +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.
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|
|
|
{
|
|
|
|
public partial class PlayerGrid
|
|
|
|
{
|
2021-04-07 23:06:14 +08:00
|
|
|
/// <summary>
|
|
|
|
/// A facade of the grid which is used as a dummy object to store the required position/size of cells.
|
|
|
|
/// </summary>
|
|
|
|
private class Facade : Drawable
|
2021-04-07 22:15:09 +08:00
|
|
|
{
|
2021-04-07 23:06:14 +08:00
|
|
|
public Facade()
|
2021-04-07 22:15:09 +08:00
|
|
|
{
|
|
|
|
Anchor = Anchor.Centre;
|
|
|
|
Origin = Anchor.Centre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|