MCPcopy Index your code
hub / github.com/codecombat/codecombat / findPlayerNames

Method findPlayerNames

app/views/play/SpectateView.js:285–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283 }
284
285 findPlayerNames () {
286 const playerNames = {}
287 for (const session of [this.session, this.otherSession]) {
288 if ((session != null ? session.get('team') : undefined)) {
289 playerNames[session.get('team')] = utils.getCorrectName(session)
290 }
291 }
292 return playerNames
293 }
294
295 initGoalManager () {
296 this.goalManager = new GoalManager(this.world, this.level.get('goals'))

Callers 1

initSurfaceMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected