API Docs for: 0.1.0
Show:

CG.Stick Class

Extends CG.Class
Module: CG

CG.Stick displays an analog stick and uses the first element of the touches


                        var b = new CG.Stick({
                              maxLength: 0,
                              active: false
                            })
                        

Methods

init

(
  • options
)

Options: x {number} y {number}

Parameters:

Returns:

:

Example:

Properties

atLimit

Boolean

handle

Number

Default: CG.LEFT_HAND

identifier

Number

length

Number

maxLength

Number

normal

Object