Merge branch 'cast_receive' into dots
commit
17d4785167
|
@ -18,10 +18,6 @@ GameLib.Socket.Cast = function(
|
|||
};
|
||||
}
|
||||
|
||||
if (apiSocketCast instanceof GameLib.Socket.Cast) {
|
||||
return apiSocketCast;
|
||||
}
|
||||
|
||||
GameLib.API.Socket.Cast.call(
|
||||
this,
|
||||
apiSocketCast,
|
||||
|
@ -37,7 +33,7 @@ GameLib.Socket.Cast = function(
|
|||
);
|
||||
};
|
||||
|
||||
GameLib.Socket.Cast.prototype = Object.create(GameLib.API.Socket.Cast.prototype);
|
||||
GameLib.Socket.Cast.prototype = Object.create(GameLib.Socket.prototype);
|
||||
GameLib.Socket.Cast.prototype.constructor = GameLib.Socket.Cast;
|
||||
|
||||
GameLib.Socket.Cast.prototype.createInstance = function() {
|
||||
|
|
|
@ -18,10 +18,6 @@ GameLib.Socket.Receive = function(
|
|||
};
|
||||
}
|
||||
|
||||
if (apiSocketReceive instanceof GameLib.Socket.Receive) {
|
||||
return apiSocketReceive;
|
||||
}
|
||||
|
||||
GameLib.API.Socket.Receive.call(
|
||||
this,
|
||||
apiSocketReceive,
|
||||
|
@ -38,7 +34,7 @@ GameLib.Socket.Receive = function(
|
|||
|
||||
};
|
||||
|
||||
GameLib.Socket.Receive.prototype = Object.create(GameLib.API.Socket.Receive.prototype);
|
||||
GameLib.Socket.Receive.prototype = Object.create(GameLib.Socket.prototype);
|
||||
GameLib.Socket.Receive.prototype.constructor = GameLib.Socket.Receive;
|
||||
|
||||
GameLib.Socket.Receive.prototype.createInstance = function() {
|
||||
|
|
Loading…
Reference in New Issue