Add interfaces to CatchBaseHit

This commit is contained in:
Dean Herbert
2017-09-19 21:40:38 +09:00
parent 4b68950428
commit 0aa152974a
4 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
{
StartTime = obj.StartTime,
NewCombo = (obj as IHasCombo)?.NewCombo ?? false,
Position = ((IHasXPosition)obj).X / OsuPlayfield.BASE_SIZE.X
X = ((IHasXPosition)obj).X / OsuPlayfield.BASE_SIZE.X
};
}
}