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

Fix and add comments

This commit is contained in:
ekrctb 2020-11-25 08:00:11 +09:00
parent 3c3229ac4b
commit 6e55eb2090
2 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,9 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables
{ {
public abstract class DrawablePalpableCatchHitObject : DrawableCatchHitObject public abstract class DrawablePalpableCatchHitObject : DrawableCatchHitObject
{ {
/// <summary>
/// Whether this hit object should stay on the catcher plate when the object is caught by the catcher.
/// </summary>
public virtual bool StaysOnPlate => true; public virtual bool StaysOnPlate => true;
protected readonly Container ScaleContainer; protected readonly Container ScaleContainer;

View File

@ -1,11 +1,11 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Catch.Objects namespace osu.Game.Rulesets.Catch.Objects
{ {
/// <summary> /// <summary>
/// Represents a single object that can be caught by the catcher. /// Represents a single object that can be caught by the catcher.
/// This includes normal fruits, droplets, and bananas but excludes objects that acts only as a container of nested hit objects. /// This includes normal fruits, droplets, and bananas but excludes objects that act only as a container of nested hit objects.
/// </summary> /// </summary>
public abstract class PalpableCatchHitObject : CatchHitObject public abstract class PalpableCatchHitObject : CatchHitObject
{ {