Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/simulation/components/Identity.js
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | Identity.prototype.GetPhenotype = function() | ||||
return this.phenotype; | return this.phenotype; | ||||
}; | }; | ||||
Identity.prototype.GetRank = function() | Identity.prototype.GetRank = function() | ||||
{ | { | ||||
return this.template.Rank || ""; | return this.template.Rank || ""; | ||||
}; | }; | ||||
Identity.prototype.GetRankTechName = function() | |||||
{ | |||||
return this.template.Rank ? "unit_" + this.template.Rank.toLowerCase() : ""; | |||||
}; | |||||
Identity.prototype.GetClassesList = function() | Identity.prototype.GetClassesList = function() | ||||
{ | { | ||||
return this.classesList; | return this.classesList; | ||||
}; | }; | ||||
Identity.prototype.GetVisibleClassesList = function() | Identity.prototype.GetVisibleClassesList = function() | ||||
{ | { | ||||
return this.visibleClassesList; | return this.visibleClassesList; | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator