PlatformerInputController class
This class is used to control the actions of the PlatformerControlsWrapper class.
Signature:
export declare class Controller
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Controller
class.
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
boolean |
Returns true if the controller is active. | ||
any |
Callback function that is called when the user presses/relases a key. | ||
boolean |
Returns true if the joystick is visible. |