mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 06:52:55 +08:00
Remove redundant parentheses.
This commit is contained in:
parent
9b1363184b
commit
51f7904c13
@ -33,11 +33,11 @@ namespace osu.Game.Rulesets.Mania.MathUtils
|
|||||||
/// <returns>The random value.</returns>
|
/// <returns>The random value.</returns>
|
||||||
public uint NextUInt()
|
public uint NextUInt()
|
||||||
{
|
{
|
||||||
uint t = (_x ^ (_x << 11));
|
uint t = _x ^ _x << 11;
|
||||||
_x = _y;
|
_x = _y;
|
||||||
_y = _z;
|
_y = _z;
|
||||||
_z = _w;
|
_z = _w;
|
||||||
return (_w = (_w ^ (_w >> 19)) ^ (t ^ (t >> 8)));
|
return _w = _w ^ _w >> 19 ^ t ^ t >> 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -17,6 +17,7 @@ using osu.Game.Rulesets.Objects.Drawables;
|
|||||||
using osu.Game.Rulesets.Objects.Types;
|
using osu.Game.Rulesets.Objects.Types;
|
||||||
using osu.Game.Rulesets.Scoring;
|
using osu.Game.Rulesets.Scoring;
|
||||||
using osu.Game.Rulesets.UI;
|
using osu.Game.Rulesets.UI;
|
||||||
|
using osu.Game.Rulesets.Mania.MathUtils;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Mania.UI
|
namespace osu.Game.Rulesets.Mania.UI
|
||||||
{
|
{
|
||||||
@ -27,6 +28,11 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
public ManiaHitRenderer(WorkingBeatmap beatmap)
|
public ManiaHitRenderer(WorkingBeatmap beatmap)
|
||||||
: base(beatmap)
|
: base(beatmap)
|
||||||
{
|
{
|
||||||
|
FastRandom fr = new FastRandom(1337);
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
int value = fr.Next();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Playfield<ManiaHitObject, ManiaJudgement> CreatePlayfield()
|
protected override Playfield<ManiaHitObject, ManiaJudgement> CreatePlayfield()
|
||||||
|
Loading…
Reference in New Issue
Block a user