mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
implemented rubedoll level item (not after dying yet)
This commit is contained in:
parent
b12bf2bb0c
commit
c67ff78aa0
16 changed files with 3140 additions and 2022 deletions
|
|
@ -8,9 +8,9 @@ define([
|
|||
"Game/" + GLOBALS.context + "/GameObjects/Item",
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/Skateboard",
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/RagDoll",
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/Rube"
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/RubeDoll"
|
||||
|
||||
], function (Settings, Box2D, Nc, Abstract, CollisionDetector, Tile, Item, Skateboard, RagDoll, Rube) {
|
||||
], function (Settings, Box2D, Nc, Abstract, CollisionDetector, Tile, Item, Skateboard, RagDoll, RubeDoll) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -50,8 +50,8 @@ define([
|
|||
return new Skateboard(this.engine, uid, options);
|
||||
case "ragdoll":
|
||||
return new RagDoll(this.engine, uid, options);
|
||||
case "rube":
|
||||
return new Rube(this.engine, uid, options);
|
||||
case "rubedoll":
|
||||
return new RubeDoll(this.engine, uid, options);
|
||||
default:
|
||||
return new Item(this.engine, uid, options);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue