Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Beatmap non-nullable #1027

Merged
merged 23 commits into from
Jul 19, 2017
Merged

Make Beatmap non-nullable #1027

merged 23 commits into from
Jul 19, 2017

Conversation

peppy
Copy link
Member

@peppy peppy commented Jul 19, 2017

Also removes property from OsuScreen, instead using the bindable backing directly.

{
if (ReferenceEquals(null, other)) return false;
if (ReferenceEquals(this, other)) return true;
return Time.Equals(other.Time);

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.


public override ScoreProcessor CreateScoreProcessor()
{
throw new System.NotImplementedException();

This comment was marked as off-topic.

@@ -10,7 +10,7 @@ public class BeatmapDifficulty
/// <summary>
/// The default value used for all difficulty settings except <see cref="SliderMultiplier"/> and <see cref="SliderTickRate"/>.
/// </summary>
public const float DEFAULT_DIFFICULTY = 5;
public const float DEFAULT_DIFFICULTY = 0;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

/// <summary>
/// A default representation of a WorkingBeatmap to use when no beatmap is available.
/// </summary>
public WorkingBeatmap DefaultBeatmap { get; set; }

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay for now 👍

@smoogipoo smoogipoo merged commit a7d4a3d into ppy:master Jul 19, 2017
@peppy peppy deleted the non-null-beatmap branch July 31, 2017 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants