ButtonState now has a public constructor

pull/21/head
cosmonaut 2022-08-03 10:13:20 -07:00
parent 0b0a6feff5
commit 9c8ec7ad5a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
public bool IsDown => ButtonStatus == ButtonStatus.Pressed || ButtonStatus == ButtonStatus.Held;
public bool IsReleased => ButtonStatus == ButtonStatus.Released;
internal ButtonState(ButtonStatus buttonStatus)
public ButtonState(ButtonStatus buttonStatus)
{
ButtonStatus = buttonStatus;
}