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
|
|
@ -1,14 +1,14 @@
|
|||
define([
|
||||
"Game/" + GLOBALS.context + "/GameObjects/GameObject",
|
||||
"Lib/Vendor/Box2D",
|
||||
"Lib/Utilities/Options",
|
||||
"Lib/Utilities/OptionsHelper",
|
||||
"Game/Config/Settings",
|
||||
"Lib/Utilities/Exception",
|
||||
"Lib/Utilities/NotificationCenter",
|
||||
"Lib/Utilities/Assert"
|
||||
],
|
||||
|
||||
function (Parent, Box2D, Options, Settings, Exception, nc, Assert) {
|
||||
function (Parent, Box2D, OptionsHelper, Settings, Exception, nc, Assert) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ function (Parent, Box2D, Options, Settings, Exception, nc, Assert) {
|
|||
y: parseFloat(options.y)
|
||||
};
|
||||
|
||||
this.options = Options.merge(floatOptions, options);
|
||||
this.options = OptionsHelper.merge(floatOptions, options);
|
||||
|
||||
if(!this.options.category) {
|
||||
// FIXME add more validation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue