Added override for Deserialize
This was SVN commit r10788.
This commit is contained in:
parent
6399ec0cd2
commit
c472c07e7a
@ -124,6 +124,14 @@ QBotAI.prototype.OnUpdate = function() {
|
||||
this.turn++;
|
||||
};
|
||||
|
||||
// TODO: Remove override when the whole AI state is serialised
|
||||
QBotAI.prototype.Deserialize = function(data)
|
||||
{
|
||||
this._rawEntities = data._rawEntities;
|
||||
this._ownEntities = data._ownEntities;
|
||||
this._entityMetadata = {};
|
||||
};
|
||||
|
||||
var debugOn = false;
|
||||
|
||||
function debug(output){
|
||||
|
Loading…
Reference in New Issue
Block a user