toggle menu
0.4.9
androidJvm
switch theme
search in API
Command
/
com.amarcolini.joos.gamepad
/
Button
Button
class
Button
(
state
:
Boolean
=
false
)
:
Toggleable
Represents the state of a button.
Members
Constructors
Button
Link copied to clipboard
constructor
(
state
:
Boolean
=
false
)
Properties
last
State
Link copied to clipboard
open
override
var
lastState
:
Boolean
state
Link copied to clipboard
open
override
var
state
:
Boolean
Functions
toggle
Link copied to clipboard
fun
toggle
(
)
update
Link copied to clipboard
fun
update
(
newState
:
Boolean
)