mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 09:23:06 +08:00
Remove getter on Objects.
This commit is contained in:
parent
f0284ce57c
commit
aad58532ec
@ -20,11 +20,6 @@ namespace osu.Game.GameModes.Play.Catch
|
||||
|
||||
public override List<HitObject> Objects
|
||||
{
|
||||
get
|
||||
{
|
||||
return objects.ConvertAll(o => (HitObject)o);
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
//osu! mode requires all objects to be of CatchBaseHit type.
|
||||
|
@ -13,7 +13,7 @@ namespace osu.Game.GameModes.Play
|
||||
{
|
||||
public abstract class HitRenderer : LargeContainer
|
||||
{
|
||||
public abstract List<HitObject> Objects { get; set; }
|
||||
public abstract List<HitObject> Objects { set; }
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
|
@ -26,11 +26,6 @@ namespace osu.Game.GameModes.Play.Mania
|
||||
|
||||
public override List<HitObject> Objects
|
||||
{
|
||||
get
|
||||
{
|
||||
return objects.ConvertAll(o => (HitObject)o);
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
//osu! mode requires all objects to be of ManiaBaseHit type.
|
||||
|
@ -18,11 +18,6 @@ namespace osu.Game.GameModes.Play.Osu
|
||||
|
||||
public override List<HitObject> Objects
|
||||
{
|
||||
get
|
||||
{
|
||||
return objects.ConvertAll(o => (HitObject)o);
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
//osu! mode requires all objects to be of OsuBaseHit type.
|
||||
|
@ -20,11 +20,6 @@ namespace osu.Game.GameModes.Play.Taiko
|
||||
|
||||
public override List<HitObject> Objects
|
||||
{
|
||||
get
|
||||
{
|
||||
return objects.ConvertAll(o => (HitObject)o);
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
//osu! mode requires all objects to be of TaikoBaseHit type.
|
||||
|
Loading…
Reference in New Issue
Block a user