mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:04:06 +08:00
Add basic xmldoc to KeyCounter
classes
This commit is contained in:
parent
28520414aa
commit
97ba236eb1
@ -6,6 +6,9 @@ using osu.Framework.Graphics;
|
||||
|
||||
namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
/// <summary>
|
||||
/// An event trigger which can be used with <see cref="KeyCounter"/> to create visual tracking of button/key presses.
|
||||
/// </summary>
|
||||
public abstract partial class InputTrigger : Component
|
||||
{
|
||||
public event Action<bool>? OnActivate;
|
||||
|
@ -7,6 +7,9 @@ using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
/// <summary>
|
||||
/// An individual key display which is intended to be displayed within a <see cref="KeyCounterDisplay"/>.
|
||||
/// </summary>
|
||||
public abstract partial class KeyCounter : Container
|
||||
{
|
||||
public readonly InputTrigger Trigger;
|
||||
|
@ -15,6 +15,9 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
/// <summary>
|
||||
/// A flowing display of all gameplay keys. Individual keys can be added using <see cref="InputTrigger"/> implementations.
|
||||
/// </summary>
|
||||
public abstract partial class KeyCounterDisplay : Container<KeyCounter>
|
||||
{
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user