ragdoll
A 2D JavaScript Game Engine
Install
$ cortex install ragdoll --save
Usage
var ragdoll = ;
Class: ragdoll(options)
name: 'Hulk';
- options
Object
description ofoptions
- name
String
description ofoptions.name
- name
Creates a new ragdoll instance.
<method-name>(foo, bar, [bee], boo)
- foo
String='foo'
description offoo
- bar
Boolean=
description ofbar
- bee
Object
[]
indicates that it is an optional parameter- abc
Buffer
a property ofbee
, i.e.bee.abc
- abc
- boo
function(arg1, arg2)
what is the method used for
Event: '<event-name>'
- e
Object
the first parameter of the callback