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

Method BoxCheck

LuaSTGPlus/GameObjectPool.cpp:891–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891bool GameObjectPool::BoxCheck(size_t id, double left, double right, double top, double bottom, bool& ret)LNOEXCEPT
892{
893 GameObject* p = m_ObjectPool.Data(id);
894 if (!p)
895 return false;
896 ret = (p->x > left) && (p->x < right) && (p->y > top) && (p->y < bottom);
897 return true;
898}
899
900void GameObjectPool::ResetPool()LNOEXCEPT
901{

Callers

nothing calls this directly

Calls 1

DataMethod · 0.80

Tested by

no test coverage detected