mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Add basic structure for osu! mode objects.
This commit is contained in:
10
osu.Game/Beatmaps/Objects/Osu/Circle.cs
Normal file
10
osu.Game/Beatmaps/Objects/Osu/Circle.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
|
||||||
|
namespace osu.Game.Beatmaps.Objects.Osu
|
||||||
|
{
|
||||||
|
public class Circle : OsuBaseHit
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
namespace osu.Game.Beatmaps.Objects
|
namespace osu.Game.Beatmaps.Objects.Osu
|
||||||
{
|
{
|
||||||
public abstract class OsuHit : BaseHit
|
public abstract class OsuBaseHit : BaseHit
|
||||||
{
|
{
|
||||||
public Vector2 Position;
|
public Vector2 Position;
|
||||||
}
|
}
|
||||||
|
15
osu.Game/Beatmaps/Objects/Osu/Slider.cs
Normal file
15
osu.Game/Beatmaps/Objects/Osu/Slider.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using OpenTK;
|
||||||
|
|
||||||
|
namespace osu.Game.Beatmaps.Objects.Osu
|
||||||
|
{
|
||||||
|
public class Slider : OsuBaseHit
|
||||||
|
{
|
||||||
|
public List<Vector2> Path;
|
||||||
|
|
||||||
|
public int RepeatCount;
|
||||||
|
}
|
||||||
|
}
|
10
osu.Game/Beatmaps/Objects/Osu/Spinner.cs
Normal file
10
osu.Game/Beatmaps/Objects/Osu/Spinner.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
|
||||||
|
namespace osu.Game.Beatmaps.Objects.Osu
|
||||||
|
{
|
||||||
|
public class Spinner
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -51,7 +51,10 @@
|
|||||||
<Compile Include="Beatmaps\Objects\BaseHit.cs" />
|
<Compile Include="Beatmaps\Objects\BaseHit.cs" />
|
||||||
<Compile Include="Beatmaps\Objects\Catch\CatchBaseHit.cs" />
|
<Compile Include="Beatmaps\Objects\Catch\CatchBaseHit.cs" />
|
||||||
<Compile Include="Beatmaps\Objects\Mania\ManiaBaseHit.cs" />
|
<Compile Include="Beatmaps\Objects\Mania\ManiaBaseHit.cs" />
|
||||||
|
<Compile Include="Beatmaps\Objects\Osu\Slider.cs" />
|
||||||
|
<Compile Include="Beatmaps\Objects\Osu\Circle.cs" />
|
||||||
<Compile Include="Beatmaps\Objects\Osu\OsuBaseHit.cs" />
|
<Compile Include="Beatmaps\Objects\Osu\OsuBaseHit.cs" />
|
||||||
|
<Compile Include="Beatmaps\Objects\Osu\Spinner.cs" />
|
||||||
<Compile Include="Beatmaps\Objects\Taiko\TaikoBaseHit.cs" />
|
<Compile Include="Beatmaps\Objects\Taiko\TaikoBaseHit.cs" />
|
||||||
<Compile Include="Beatmaps\Samples\HitSampleInfo.cs" />
|
<Compile Include="Beatmaps\Samples\HitSampleInfo.cs" />
|
||||||
<Compile Include="Beatmaps\Samples\SampleBank.cs" />
|
<Compile Include="Beatmaps\Samples\SampleBank.cs" />
|
||||||
|
Reference in New Issue
Block a user