mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed item throw interface of ragdoll fixes #93
This commit is contained in:
parent
15e4b2825f
commit
5caa21f453
5 changed files with 19 additions and 24 deletions
|
|
@ -44,8 +44,8 @@ define([
|
|||
Level.prototype.createItem = function(uid, options) {
|
||||
|
||||
switch(options.type) {
|
||||
//case 'skateboard':
|
||||
// return new Skateboard(this.engine, uid, options);
|
||||
case 'skateboard':
|
||||
return new Skateboard(this.engine, uid, options);
|
||||
case 'ragdoll':
|
||||
return new RagDoll(this.engine, uid, options);
|
||||
case 'rube':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue