mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Apply two minor fixes from code review
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
6fe8298152
commit
9969c00ead
@ -113,7 +113,7 @@ namespace osu.Game.Rulesets.Catch.Skinning.Argon
|
||||
layers[i].Rotation -=
|
||||
(float)Clock.ElapsedFrameTime
|
||||
* 0.4f * rotationRandomness
|
||||
// Each layer should alternate rotation direction.
|
||||
// Each layer should alternate rotation speed.
|
||||
* (i % 2 == 1 ? 0.5f : 1);
|
||||
}
|
||||
}
|
||||
|
@ -17,9 +17,9 @@ namespace osu.Game.Rulesets.Catch.Skinning.Argon
|
||||
{
|
||||
switch (component)
|
||||
{
|
||||
case CatchSkinComponent osuComponent:
|
||||
case CatchSkinComponent catchComponent:
|
||||
// TODO: Once everything is finalised, consider throwing UnsupportedSkinComponentException on missing entries.
|
||||
switch (osuComponent.Component)
|
||||
switch (catchComponent.Component)
|
||||
{
|
||||
case CatchSkinComponents.HitExplosion:
|
||||
return new ArgonHitExplosion();
|
||||
|
Loading…
Reference in New Issue
Block a user