//========================================== // BOT_DMclass_RunFrame // States Machine & call client movement //========================================== void Bot::Frame() { // Call superclass method first Ai::Frame(); if (IsGhosting()) GhostingFrame(); else ActiveFrame(); }
void ProfilerGPU::beginFrame() { if (mIsFrameActive) BS_EXCEPT(InvalidStateException, "Cannot begin a frame because another frame is active."); mActiveFrame = ActiveFrame(); mActiveFrame.frameSample.sampleName = "Frame"; beginSampleInternal(mActiveFrame.frameSample); mIsFrameActive = true; }