InputHelpers

Namespace: Murder.Utilities
Assembly: Murder.dll

public static class InputHelpers

⭐ Methods

FitToWidth(ReadOnlySpan`1&, int)

public bool FitToWidth(ReadOnlySpan`1& text, int width)

Parameters
text ReadOnlySpan<T>&
width int

Returns
bool

GetAmountOfLines(ReadOnlySpan, int)

public int GetAmountOfLines(ReadOnlySpan<T> text, int width)

Parameters
text ReadOnlySpan<T>
width int

Returns
int

IntToDPad(int)

public string IntToDPad(int slot)

Parameters
slot int

Returns
string

Clamp(int)

public void Clamp(int length)

Parameters
length int