provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Input.simulateStick
prova
input
input
Input
Uses the WASD format, returns a normalized vector
class
Input
Vector2
simulateStick
(
Key
up
,
Key
left
,
Key
down
,
Key
right
)
Meta
Source
See Implementation
prova
input
input
Input
constructors
this
functions
getController
getMousePosition
isKeyDown
isKeyUp
isMouseButtonDown
isMouseButtonUp
keyJustPressed
mouseButtonClicked
simulateStick
update
Uses the WASD format, returns a normalized vector