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

Method Process

src/SB/Game/zNPCTypeTest.cpp:104–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void zNPCTest::Process(xScene* xscn, F32 dt)
105{
106 transitionTimer = MAX(-1.0f, transitionTimer - dt);
107
108 if (transitionTimer < 0.0f)
109 {
110 transitionTimer = 5.0f;
111
112 if (++currentState >= numAnimations)
113 {
114 currentState = 0;
115 }
116
117 AnimStart(g_hash_testanim[currentState + 1], 0);
118 }
119
120 zNPCCommon::Process(xscn, dt);
121}
122
123void zNPCTest::SelfSetup()
124{

Callers

nothing calls this directly

Calls 2

AnimStartFunction · 0.85
ProcessFunction · 0.50

Tested by

no test coverage detected