1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 11:27:24 +08:00

Derive from IHasPosition

This commit is contained in:
smoogipoo 2018-03-12 17:25:34 +09:00
parent 19436842de
commit 212142429f
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ using osu.Game.Rulesets.Edit.Types;
namespace osu.Game.Rulesets.Osu.Objects namespace osu.Game.Rulesets.Osu.Objects
{ {
public abstract class OsuHitObject : HitObject, IHasCombo, IHasPosition, IHasEditablePosition public abstract class OsuHitObject : HitObject, IHasCombo, IHasEditablePosition
{ {
public const double OBJECT_RADIUS = 64; public const double OBJECT_RADIUS = 64;

View File

@ -1,11 +1,12 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects.Types;
using OpenTK; using OpenTK;
namespace osu.Game.Rulesets.Edit.Types namespace osu.Game.Rulesets.Edit.Types
{ {
public interface IHasEditablePosition public interface IHasEditablePosition : IHasPosition
{ {
void OffsetPosition(Vector2 offset); void OffsetPosition(Vector2 offset);
} }