Skip to content

ButtonsAttribute

namespace Griff.Modules.Fighting;
public sealed class ButtonsAttribute : RowsAttribute

Marks a string as a fighter’s buttons and the input action each is, “P Punch, K Kick” (a FightingCharacter’s Buttons): the Inspector lists them a row each, the button’s letter typed and the action picked from the game’s.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public override string Describe()
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)