fixed item throw interface of ragdoll fixes #93

This commit is contained in:
logsol 2015-02-07 14:30:55 +01:00
parent 15e4b2825f
commit 5caa21f453
5 changed files with 19 additions and 24 deletions

View file

@ -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':