1
0
forked from 0ad/0ad

Added override for Deserialize

This was SVN commit r10788.
This commit is contained in:
Jonathan Waller 2011-12-22 15:49:23 +00:00
parent 6399ec0cd2
commit c472c07e7a

View File

@ -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){