----------------------------------------------- GET BULLET FROM INDEX ------------------------------------
| 11 | { |
| 12 | //----------------------------------------------- GET BULLET FROM INDEX ------------------------------------ |
| 13 | BulletImpl* GameImpl::getBulletFromIndex(int index) |
| 14 | { |
| 15 | index &= 0x7F; |
| 16 | if (static_cast<unsigned>(index) < bulletArray.size()) |
| 17 | return this->bulletArray[index]; |
| 18 | return nullptr; |
| 19 | } |
| 20 | //--------------------------------------------- UPDATE BULLETS --------------------------------------------- |
| 21 | void GameImpl::updateBullets() |
| 22 | { |
no test coverage detected