mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Rename classes as per review feedback
This commit is contained in:
@ -53,7 +53,7 @@ namespace osu.Game.Storyboards
|
|||||||
|
|
||||||
public Storyboard()
|
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("Background", new StoryboardLayer("Background", 3));
|
||||||
layers.Add("Fail", new StoryboardLayer("Fail", 2) { VisibleWhenPassing = false, });
|
layers.Add("Fail", new StoryboardLayer("Fail", 2) { VisibleWhenPassing = false, });
|
||||||
layers.Add("Pass", new StoryboardLayer("Pass", 1) { VisibleWhenFailing = false, });
|
layers.Add("Pass", new StoryboardLayer("Pass", 1) { VisibleWhenFailing = false, });
|
||||||
|
@ -7,19 +7,19 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Storyboards
|
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)
|
: base(name, depth, masking)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public override DrawableStoryboardLayer CreateDrawable()
|
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)
|
: base(layer)
|
||||||
{
|
{
|
||||||
// for videos we want to take on the full size of the storyboard container hierarchy
|
// for videos we want to take on the full size of the storyboard container hierarchy
|
Reference in New Issue
Block a user