mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Naming adjustments
This commit is contained in:
@ -20,7 +20,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
{
|
||||
public class ProfileScore : CompositeDrawable
|
||||
public class DrawableProfileScore : CompositeDrawable
|
||||
{
|
||||
private const int performance_width = 80;
|
||||
private const int content_padding = 10;
|
||||
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
[Resolved]
|
||||
private OsuColour colours { get; set; }
|
||||
|
||||
public ProfileScore(ScoreInfo score)
|
||||
public DrawableProfileScore(ScoreInfo score)
|
||||
{
|
||||
Score = score;
|
||||
|
@ -10,11 +10,11 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
{
|
||||
public class ProfileWeightedScore : ProfileScore
|
||||
public class DrawableProfileWeightedScore : DrawableProfileScore
|
||||
{
|
||||
private readonly double weight;
|
||||
|
||||
public ProfileWeightedScore(ScoreInfo score, double weight)
|
||||
public DrawableProfileWeightedScore(ScoreInfo score, double weight)
|
||||
: base(score)
|
||||
{
|
||||
this.weight = weight;
|
@ -41,10 +41,10 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
return new ProfileScore(model.CreateScoreInfo(Rulesets));
|
||||
return new DrawableProfileScore(model.CreateScoreInfo(Rulesets));
|
||||
|
||||
case ScoreType.Best:
|
||||
return new ProfileWeightedScore(model.CreateScoreInfo(Rulesets), Math.Pow(0.95, ItemsContainer.Count));
|
||||
return new DrawableProfileWeightedScore(model.CreateScoreInfo(Rulesets), Math.Pow(0.95, ItemsContainer.Count));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user