Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/minimap/MiniMapPanel.js
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
/** | |||||
* This class is concerned with managing the different elements of the minimap panel. | |||||
*/ | |||||
class MiniMapPanel | |||||
{ | |||||
constructor(diplomacyColors, idleWorkerClasses) | |||||
{ | |||||
this.diplomacyColorsButton = new MiniMapDiplomacyColorsButton(diplomacyColors); | |||||
this.idleWorkerButton = new MiniMapIdleWorkerButton(idleWorkerClasses); | |||||
this.minimap = new Minimap(); | |||||
} | |||||
update() | |||||
{ | |||||
this.diplomacyColorsButton.update(); | |||||
this.idleWorkerButton.update(); | |||||
} | |||||
} |
Wildfire Games · Phabricator