| 889 | } |
| 890 | |
| 891 | bool 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 | |
| 900 | void GameObjectPool::ResetPool()LNOEXCEPT |
| 901 | { |