A 2D JavaScript Game Engine
$ cortex install ragdoll --save
var ragdoll = require('ragdoll');
new ragdoll({
name: 'Hulk'
});
- options
Object
description ofoptions
- name
String
description ofoptions.name
- name
Creates a new ragdoll instance.
- 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
- e
Object
the first parameter of the callback