Merge pull request #289 from UselessToucan/JudgementsCapacity

Specify ScoreProcessor.Judgements.Capacity
This commit is contained in:
Dean Herbert
2017-01-23 21:40:00 +09:00
committed by GitHub
8 changed files with 18 additions and 13 deletions

View File

@ -1,11 +1,6 @@
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Objects.Drawables;
@ -13,6 +8,11 @@ namespace osu.Game.Modes.Osu
{
class OsuScoreProcessor : ScoreProcessor
{
public OsuScoreProcessor(int hitObjectCount)
: base(hitObjectCount)
{
}
protected override void UpdateCalculations(JudgementInfo judgement)
{
if (judgement != null)