Skip to content

Add failing support#290

Merged
peppy merged 11 commits intoppy:masterfrom
peppy:player-extension
Jan 27, 2017
Merged

Add failing support#290
peppy merged 11 commits intoppy:masterfrom
peppy:player-extension

Conversation

@peppy
Copy link
Copy Markdown
Member

@peppy peppy commented Jan 20, 2017

Also tidies up HealthDisplay and makes it Bindable.

if (Health.Value == Health.MinValue && !HasFailed)
{
HasFailed = true;
Failed?.Invoke();

This comment was marked as off-topic.

This comment was marked as off-topic.

Comment thread osu.Game/Modes/UI/ScoreOverlay.cs Outdated
processor.Accuracy.ValueChanged += delegate { AccuracyCounter?.Set((float)processor.Accuracy.Value); };
processor.Combo.ValueChanged += delegate { ComboCounter?.Set((ulong)processor.Combo.Value); };
processor.Health.ValueChanged += delegate { HealthDisplay?.Set(processor.Health.Value); };
if (HealthDisplay != null) HealthDisplay.Current.Weld(processor.Health);

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Copy Markdown
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 ok

@peppy peppy merged commit 335420e into ppy:master Jan 27, 2017
@Tom94 Tom94 mentioned this pull request Feb 5, 2017
35 tasks
@peppy peppy deleted the player-extension branch February 15, 2017 06:26
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.

3 participants