MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / AfterFrame

Method AfterFrame

LuaSTGPlus/GameObjectPool.cpp:668–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668void GameObjectPool::AfterFrame()LNOEXCEPT
669{
670 GameObject* p = m_pObjectListHeader.pObjectNext;
671 while (p && p != &m_pObjectListTail)
672 {
673 p->timer++;
674 p->ani_timer++;
675 if (p->status != STATUS_DEFAULT)
676 p = freeObject(p);
677 else
678 p = p->pObjectNext;
679 }
680}
681
682int GameObjectPool::New(lua_State* L)LNOEXCEPT
683{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected