Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/TechnologyManager.js
Show All 12 Lines | |||||
return this.researchStarted; | return this.researchStarted; | ||||
}; | }; | ||||
/** | /** | ||||
* Gets the entity currently researching the technology. | * Gets the entity currently researching the technology. | ||||
*/ | */ | ||||
TechnologyManager.prototype.GetResearcher = function(tech) | TechnologyManager.prototype.GetResearcher = function(tech) | ||||
{ | { | ||||
return this.researchQueued.get(tech) | return this.researchQueued.get(tech); | ||||
}; | }; | ||||
/** | /** | ||||
* Called by GUIInterface for PlayerData. AI use. | * Called by GUIInterface for PlayerData. AI use. | ||||
*/ | */ | ||||
TechnologyManager.prototype.GetQueuedResearch = function() | TechnologyManager.prototype.GetQueuedResearch = function() | ||||
{ | { | ||||
return this.researchQueued; | return this.researchQueued; | ||||
Show All 12 Lines |
Wildfire Games · Phabricator