0.1.0 • Published 10 years ago

ragdoll v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

ragdoll

A 2D JavaScript Game Engine

Install

$ cortex install ragdoll --save

Usage

var ragdoll = require('ragdoll');

Class: ragdoll(options)

new ragdoll({
	name: 'Hulk'
});
  • options Object description of options - name String description of options.name

Creates a new ragdoll instance.

<method-name>(foo, bar, bee, boo)

  • foo String='foo' description of foo
  • bar Boolean= description of bar
  • bee Object [] indicates that it is an optional parameter
    • abc Buffer a property of bee, i.e. bee.abc
  • boo function(arg1, arg2) what is the method used for

Event: '<event-name>'

  • e Object the first parameter of the callback

ragdoll.<method-name>(arguments)

0.1.0

10 years ago

0.0.1

11 years ago

0.0.0

11 years ago