mirror of
https://github.com/ppy/osu
synced 2024-12-25 08:12:41 +00:00
Rename classes as per review feedback
This commit is contained in:
parent
5ea948aabe
commit
871ca8054f
@ -53,7 +53,7 @@ namespace osu.Game.Storyboards
|
||||
|
||||
public Storyboard()
|
||||
{
|
||||
layers.Add("Video", new StoryboardLayerVideo("Video", 4, false));
|
||||
layers.Add("Video", new StoryboardVideoLayer("Video", 4, false));
|
||||
layers.Add("Background", new StoryboardLayer("Background", 3));
|
||||
layers.Add("Fail", new StoryboardLayer("Fail", 2) { VisibleWhenPassing = false, });
|
||||
layers.Add("Pass", new StoryboardLayer("Pass", 1) { VisibleWhenFailing = false, });
|
||||
|
@ -7,19 +7,19 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Storyboards
|
||||
{
|
||||
public class StoryboardLayerVideo : StoryboardLayer
|
||||
public class StoryboardVideoLayer : StoryboardLayer
|
||||
{
|
||||
public StoryboardLayerVideo(string name, int depth, bool masking)
|
||||
public StoryboardVideoLayer(string name, int depth, bool masking)
|
||||
: base(name, depth, masking)
|
||||
{
|
||||
}
|
||||
|
||||
public override DrawableStoryboardLayer CreateDrawable()
|
||||
=> new DrawableStoryboardLayerVideo(this) { Depth = Depth, Name = Name };
|
||||
=> new DrawableStoryboardVideoLayer(this) { Depth = Depth, Name = Name };
|
||||
|
||||
public class DrawableStoryboardLayerVideo : DrawableStoryboardLayer
|
||||
public class DrawableStoryboardVideoLayer : DrawableStoryboardLayer
|
||||
{
|
||||
public DrawableStoryboardLayerVideo(StoryboardLayerVideo layer)
|
||||
public DrawableStoryboardVideoLayer(StoryboardVideoLayer layer)
|
||||
: base(layer)
|
||||
{
|
||||
// for videos we want to take on the full size of the storyboard container hierarchy
|
Loading…
Reference in New Issue
Block a user