mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
moved Protocol and NotificationCenter to Lib/Utilities
This commit is contained in:
parent
93e8133c89
commit
3aa89fc8d6
24 changed files with 30 additions and 30 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (NotificationCenter) {
|
function (NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ define([
|
||||||
"Game/Core/Control/PlayerController",
|
"Game/Core/Control/PlayerController",
|
||||||
"Game/Client/Control/KeyboardInput",
|
"Game/Client/Control/KeyboardInput",
|
||||||
"Game/Client/Control/Input/MouseInput",
|
"Game/Client/Control/Input/MouseInput",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, KeyboardInput, MouseInput, NotificationCenter) {
|
function (Parent, KeyboardInput, MouseInput, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ define([
|
||||||
"Game/Client/Physics/Engine",
|
"Game/Client/Physics/Engine",
|
||||||
"Game/Client/View/ViewManager",
|
"Game/Client/View/ViewManager",
|
||||||
"Game/Client/Control/PlayerController",
|
"Game/Client/Control/PlayerController",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Lib/Utilities/RequestAnimFrame",
|
"Lib/Utilities/RequestAnimFrame",
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Lib/Vendor/Stats",
|
"Lib/Vendor/Stats",
|
||||||
"Game/Client/GameObjects/GameObject",
|
"Game/Client/GameObjects/GameObject",
|
||||||
"Game/Client/Physics/Doll"
|
"Game/Client/GameObjects/Doll"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, NotificationCenter, requestAnimFrame, Settings, Stats, GameObject, Doll) {
|
function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, NotificationCenter, requestAnimFrame, Settings, Stats, GameObject, Doll) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/Physics/Doll",
|
"Game/Core/GameObjects/Doll",
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Lib/Utilities/Exception"
|
"Lib/Utilities/Exception"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/GameObjects/Item",
|
"Game/Core/GameObjects/Item",
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, Settings, NotificationCenter) {
|
function (Parent, Settings, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/GameObjects/Tile",
|
"Game/Core/GameObjects/Tile",
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, Settings, NotificationCenter) {
|
function (Parent, Settings, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/Protocol/Helper",
|
"Lib/Utilities/Protocol/Helper",
|
||||||
"Game/Client/GameController",
|
"Game/Client/GameController",
|
||||||
"Game/Client/User",
|
"Game/Client/User",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Config/Settings"
|
"Game/Config/Settings"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ define([
|
||||||
"Game/Client/View/DomController",
|
"Game/Client/View/DomController",
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Lib/Utilities/Exception",
|
"Lib/Utilities/Exception",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (DomController, Settings, Exception, NotificationCenter) {
|
function (DomController, Settings, Exception, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/" + GLOBALS.context + "/Physics/Doll",
|
"Game/" + GLOBALS.context + "/GameObjects/Doll",
|
||||||
"Game/Config/Settings"
|
"Game/Config/Settings"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
define([
|
define([
|
||||||
"Game/Server/GameController",
|
"Game/Server/GameController",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Server/User",
|
"Game/Server/User",
|
||||||
"Game/Core/Protocol/Helper"
|
"Lib/Utilities/Protocol/Helper"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (GameController, NotificationCenter, User, ProtocolHelper) {
|
function (GameController, NotificationCenter, User, ProtocolHelper) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/Control/PlayerController",
|
"Game/Core/Control/PlayerController",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Core/Protocol/Parser"
|
"Lib/Utilities/Protocol/Parser"
|
||||||
],
|
],
|
||||||
|
|
||||||
function(Parent, NotificationCenter, Parser) {
|
function(Parent, NotificationCenter, Parser) {
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ define([
|
||||||
"Game/Config/Settings",
|
"Game/Config/Settings",
|
||||||
"Game/Server/Control/PlayerController",
|
"Game/Server/Control/PlayerController",
|
||||||
"Lib/Utilities/RequestAnimFrame",
|
"Lib/Utilities/RequestAnimFrame",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Server/Player",
|
"Game/Server/Player",
|
||||||
"Game/Server/GameObjects/GameObject",
|
"Game/Server/GameObjects/GameObject",
|
||||||
"Game/Server/Physics/Doll"
|
"Game/Server/GameObjects/Doll"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, PhysicsEngine, Settings, PlayerController, requestAnimFrame, NotificationCenter, Player, GameObject, Doll) {
|
function (Parent, PhysicsEngine, Settings, PlayerController, requestAnimFrame, NotificationCenter, Player, GameObject, Doll) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/Physics/Doll"
|
"Game/Core/GameObjects/Doll"
|
||||||
],
|
],
|
||||||
|
|
||||||
function(Parent) {
|
function(Parent) {
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Server/Channel"
|
"Game/Server/Channel"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/User",
|
"Game/Core/User",
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"Game/Core/Protocol/Helper"
|
"Lib/Utilities/Protocol/Helper"
|
||||||
],
|
],
|
||||||
|
|
||||||
function(Parent, NotificationCenter, ProtocolHelper) {
|
function(Parent, NotificationCenter, ProtocolHelper) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/Protocol/Parser",
|
"Lib/Utilities/Protocol/Parser",
|
||||||
"Lib/Utilities/Exception"
|
"Lib/Utilities/Exception"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -2,7 +2,7 @@ define([
|
||||||
"Lobby/User",
|
"Lobby/User",
|
||||||
"Game/Server/Channel",
|
"Game/Server/Channel",
|
||||||
"Lobby/PipeToChannel",
|
"Lobby/PipeToChannel",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (User, Channel, PipeToChannel, NotificationCenter) {
|
function (User, Channel, PipeToChannel, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/NotificationCenter",
|
"Lib/Utilities/NotificationCenter",
|
||||||
"child_process"
|
"child_process"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
define([
|
define([
|
||||||
"Game/Core/User",
|
"Game/Core/User",
|
||||||
"Game/Core/Protocol/Helper",
|
"Lib/Utilities/Protocol/Helper",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, ProtocolHelper, NotificationCenter) {
|
function (Parent, ProtocolHelper, NotificationCenter) {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ console.checkpoint = function (s) {
|
||||||
|
|
||||||
requirejs([
|
requirejs([
|
||||||
"Game/Server/PipeToLobby",
|
"Game/Server/PipeToLobby",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (PipeToLobby, nc) {
|
function (PipeToLobby, nc) {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
define([
|
define([
|
||||||
"Game/Client/Networker",
|
"Game/Client/Networker",
|
||||||
"Game/Core/Protocol/Helper",
|
"Lib/Utilities/Protocol/Helper",
|
||||||
"Game/Client/GameController",
|
"Game/Client/GameController",
|
||||||
"Game/Client/User",
|
"Game/Client/User",
|
||||||
"Game/Core/NotificationCenter"
|
"Lib/Utilities/NotificationCenter"
|
||||||
],
|
],
|
||||||
|
|
||||||
function (Parent, ProtocolHelper, GameController, User, NotificationCenter) {
|
function (Parent, ProtocolHelper, GameController, User, NotificationCenter) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue