forked from MoonsideGames/MoonWorks
ButtonState now has a public constructor
parent
0b0a6feff5
commit
9c8ec7ad5a
|
@ -9,7 +9,7 @@
|
||||||
public bool IsDown => ButtonStatus == ButtonStatus.Pressed || ButtonStatus == ButtonStatus.Held;
|
public bool IsDown => ButtonStatus == ButtonStatus.Pressed || ButtonStatus == ButtonStatus.Held;
|
||||||
public bool IsReleased => ButtonStatus == ButtonStatus.Released;
|
public bool IsReleased => ButtonStatus == ButtonStatus.Released;
|
||||||
|
|
||||||
internal ButtonState(ButtonStatus buttonStatus)
|
public ButtonState(ButtonStatus buttonStatus)
|
||||||
{
|
{
|
||||||
ButtonStatus = buttonStatus;
|
ButtonStatus = buttonStatus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue