-
Notifications
You must be signed in to change notification settings - Fork 1
Inputs
Liam Fruzyna edited this page Jan 27, 2024
·
1 revision
In WildRank 2 the input model has expanded from a basic function-based model to a class-based model. Each type of element or input that can be rendered by WildRank has its own class derivative of the Element class.
Respond to a touch screen event from a Button.
- secondary
- Boolean representing if this was a secondary click (right / hold).
Increases the value of the given counter, descreases on right click.
- id
- String ID of the counter.
- right
- Boolean representing if this was a secondary click (right / hold)
- onincrement
- Function to call when complete.