mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Refactoring of Options. Renamed to OptionsHelper
Because that is what it is.
This commit is contained in:
parent
ce01c8888e
commit
05c4e4de81
6 changed files with 23 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ define([
|
|||
"Game/Config/Settings",
|
||||
"Game/Config/ItemSettings",
|
||||
"Lib/Vendor/Box2D",
|
||||
"Lib/Utilities/Options",
|
||||
"Lib/Utilities/OptionsHelper",
|
||||
"Lib/Utilities/Exception",
|
||||
"Lib/Utilities/NotificationCenter",
|
||||
"Lib/Utilities/Assert",
|
||||
|
|
@ -13,7 +13,7 @@ define([
|
|||
"Game/" + GLOBALS.context + "/GameObjects/Item",
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/Skateboard",
|
||||
|
||||
], function (Parent, Settings, ItemSettings, Box2D, Options, Exception, nc, Assert, AbstractLayer, CollisionDetector, Tile, Item, Skateboard) {
|
||||
], function (Parent, Settings, ItemSettings, Box2D, OptionsHelper, Exception, nc, Assert, AbstractLayer, CollisionDetector, Tile, Item, Skateboard) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ define([
|
|||
throw new Exception("Item name (" + name + ") cannot be found in item list");
|
||||
}
|
||||
|
||||
return Options.merge(ItemSettings[name], ItemSettings.Default);
|
||||
return OptionsHelper.merge(ItemSettings[name], ItemSettings.Default);
|
||||
};
|
||||
|
||||
TiledLevel.prototype.getTileImagePath = function(gid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue