mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Make SkinReloadableDrawable poolable
This commit is contained in:
parent
0df1625b0e
commit
2bef9312d9
@ -4,13 +4,14 @@
|
|||||||
using System;
|
using System;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
|
using osu.Framework.Graphics.Pooling;
|
||||||
|
|
||||||
namespace osu.Game.Skinning
|
namespace osu.Game.Skinning
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A drawable which has a callback when the skin changes.
|
/// A drawable which has a callback when the skin changes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class SkinReloadableDrawable : CompositeDrawable
|
public abstract class SkinReloadableDrawable : PoolableDrawable
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when <see cref="CurrentSkin"/> has changed.
|
/// Invoked when <see cref="CurrentSkin"/> has changed.
|
||||||
|
Loading…
Reference in New Issue
Block a user