mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Basic partial replay support.
This commit is contained in:
@ -7,6 +7,7 @@ using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Modes.Objects;
|
||||
using osu.Game.Modes.Objects.Drawables;
|
||||
using osu.Game.Beatmaps;
|
||||
@ -19,6 +20,8 @@ namespace osu.Game.Modes.UI
|
||||
|
||||
public event Action OnAllJudged;
|
||||
|
||||
public InputManager InputManager;
|
||||
|
||||
protected void TriggerOnJudgement(JudgementInfo j)
|
||||
{
|
||||
OnJudgement?.Invoke(j);
|
||||
@ -62,10 +65,10 @@ namespace osu.Game.Modes.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
Playfield = CreatePlayfield()
|
||||
};
|
||||
Playfield = CreatePlayfield();
|
||||
Playfield.InputManager = InputManager;
|
||||
|
||||
Add(Playfield);
|
||||
|
||||
loadObjects();
|
||||
}
|
||||
|
Reference in New Issue
Block a user