MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / update

Method update

src/SB/Core/x/xLaserBolt.cpp:127–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void xLaserBoltEmitter::update(F32 dt)
128{
129 debug_update(dt);
130
131 if (start_collide)
132 {
133
134 }
135 else
136 {
137
138 }
139
140 static_queue<bolt>::iterator it;
141 while (it != this->bolts.end())
142 {
143 bolt& b = *it;
144
145 update(b, dt);
146
147 U8 collided;
148 F32 prev_dist;
149 effect_data* itfx;
150 effect_data* endfx;
151 // effect_data* itfx;
152 // effect_data* endfx;
153 }
154}
155
156void xLaserBoltEmitter::render()
157{

Callers

nothing calls this directly

Calls 3

debug_updateFunction · 0.85
updateFunction · 0.70
endMethod · 0.45

Tested by

no test coverage detected