Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/Player.js
Show All 39 Lines | |||||
{ | { | ||||
for (let prop in state) | for (let prop in state) | ||||
this[prop] = state[prop]; | this[prop] = state[prop]; | ||||
}; | }; | ||||
/** | /** | ||||
* Which units will be shown with special icons at the top. | * Which units will be shown with special icons at the top. | ||||
*/ | */ | ||||
var panelEntityClasses = "Hero Relic"; | var panelEntityClasses = "Hero Relic AmbushCamp"; | ||||
Player.prototype.Init = function() | Player.prototype.Init = function() | ||||
{ | { | ||||
this.playerID = undefined; | this.playerID = undefined; | ||||
this.name = undefined; // Define defaults elsewhere (supporting other languages). | this.name = undefined; // Define defaults elsewhere (supporting other languages). | ||||
this.civ = undefined; | this.civ = undefined; | ||||
this.color = undefined; | this.color = undefined; | ||||
this.diplomacyColor = undefined; | this.diplomacyColor = undefined; | ||||
▲ Show 20 Lines • Show All 903 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator