Guest User

Status tick()

a guest
Apr 6th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. Status tick()
  2.         {
  3.             if (m_eStatus != BH_RUNNING)
  4.             {
  5.                 onInitialize();
  6.             }
  7.  
  8.             m_eStatus = update();
  9.  
  10.             if (m_eStatus != BH_RUNNING)
  11.             {
  12.                 onTerminate(m_eStatus);
  13.             }
  14.             return m_eStatus;
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment