1
0
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:
Dean Herbert 2016-09-28 15:49:47 +09:00
parent f0284ce57c
commit aad58532ec
5 changed files with 1 additions and 21 deletions

View File

@ -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.

View File

@ -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()
{

View File

@ -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.

View File

@ -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.

View File

@ -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.