mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Populate rulesets with their replay frames
This commit is contained in:
@ -10,6 +10,8 @@ using osu.Game.Rulesets.UI;
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Game.Rulesets.Catch.Replays;
|
||||
using osu.Game.Rulesets.Replays;
|
||||
|
||||
namespace osu.Game.Rulesets.Catch
|
||||
{
|
||||
@ -101,6 +103,8 @@ namespace osu.Game.Rulesets.Catch
|
||||
|
||||
public override int LegacyID => 2;
|
||||
|
||||
public override ReplayFrame CreateReplayFrame() => new CatchReplayFrame();
|
||||
|
||||
public CatchRuleset(RulesetInfo rulesetInfo = null)
|
||||
: base(rulesetInfo)
|
||||
{
|
||||
|
@ -14,6 +14,10 @@ namespace osu.Game.Rulesets.Catch.Replays
|
||||
public float X;
|
||||
public bool Dashing;
|
||||
|
||||
public CatchReplayFrame()
|
||||
{
|
||||
}
|
||||
|
||||
public CatchReplayFrame(double time, float? x = null, bool dashing = false)
|
||||
: base(time)
|
||||
{
|
||||
|
Reference in New Issue
Block a user