MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getTarget

Method getTarget

src/bzadmin/CursesUI.cpp:316–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315
316PlayerId CursesUI::getTarget() const {
317 if (targetIter->first == me) {
318 return AllPlayers;
319 }
320 return targetIter->first;
321}
322
323
324void CursesUI::handleResize(int lines, int cols) {

Callers 5

setHuntTargetFunction · 0.45
doTankMotionsFunction · 0.45
chasePlayerFunction · 0.45
runLoopMethod · 0.45
GetLocalPlayerTargetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected