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

Method updateShots

src/clientbase/WorldPlayer.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72void WorldPlayer::updateShots(float dt) {
73 const size_t count = shots.size();
74 for (size_t i = 0; i < count; ++i)
75 if (shots[i]) {
76 shots[i]->update(dt);
77 }
78}
79
80
81void WorldPlayer::addShots(SceneDatabase* scene, bool colorblind) const {

Callers 1

updateShotsFunction · 0.45

Calls 2

sizeMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected